Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep extradata on stream-refresh if not given from demuxer #12656

Closed
wants to merge 1 commit into from
Closed

keep extradata on stream-refresh if not given from demuxer #12656

wants to merge 1 commit into from

Conversation

peak3d
Copy link
Contributor

@peak3d peak3d commented Aug 10, 2017

Description

extradata extracted from stream by DemuxClient must not be removed if demuxer is requested for possible changed stream infos without providing extradata.

This issue is a side effect of: PR12651

Motivation and Context

Live-TV with TVH does not provide video. Reason is that tvh demuxer does not provide codec extra-data.

How Has This Been Tested?

Win10 / 32 TVH german channels

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@@ -472,15 +456,6 @@ void CDVDDemuxClient::RequestStream(CDemuxStream *stream, std::map<int, std::sha
if (streamSubtitle->m_parser)
streamSubtitle->m_parser->flags |= PARSER_FLAG_COMPLETE_FRAMES;
}

if (source->ExtraSize == 4)

This comment was marked as spam.

This comment was marked as spam.

{
newStream->profile = oldStream->profile;
newStream->level = oldStream->level;
extraSource = oldStream.get();

This comment was marked as spam.

This comment was marked as spam.

@da-anda
Copy link
Member

da-anda commented Aug 11, 2017

@FernetMenta I suppose this one can be closed now that your PR is in?

@peak3d peak3d closed this Aug 11, 2017
@peak3d peak3d deleted the demuxtv branch August 11, 2017 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants