mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
resindvd: Fix a small flaw - if any audio stream exists, use it
Don't create a dummy audio stream if only non-AC3 tracks exist.
This commit is contained in:
parent
03120c8316
commit
53bc4d1803
1 changed files with 3 additions and 1 deletions
|
@ -1890,9 +1890,11 @@ rsn_dvdsrc_prepare_streamsinfo_event (resinDvdSrc * src)
|
|||
(int) a->audio_format);
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
if (a->audio_format == 0)
|
||||
have_audio = TRUE;
|
||||
#else
|
||||
have_audio = TRUE;
|
||||
#endif
|
||||
|
||||
GST_DEBUG_OBJECT (src, "Audio stream %d is format %d, substream %d", i,
|
||||
(int) a->audio_format, phys_id);
|
||||
|
|
Loading…
Reference in a new issue