mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegtsdemux: set specific caps for lpcm in private stream
In the clips that I've found those streams, the lpcm header is different than the DVD case. Then the decoder need to know this in order to be able parse it.
This commit is contained in:
parent
659e90f8f6
commit
b60d71482f
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ enum
|
|||
"mute = (boolean) { FALSE, TRUE }; " \
|
||||
"audio/x-ac3; audio/x-eac3;" \
|
||||
"audio/x-dts;" \
|
||||
"audio/x-private1-lpcm" \
|
||||
"audio/x-private-ts-lpcm" \
|
||||
)
|
||||
|
||||
/* Can also use the subpicture pads for text subtitles? */
|
||||
|
@ -705,7 +705,7 @@ gst_mpegts_demux_fill_stream (GstMpegTSStream * stream, guint8 id,
|
|||
case ST_BD_AUDIO_LPCM:
|
||||
template = klass->audio_template;
|
||||
name = g_strdup_printf ("audio_%04x", stream->PID);
|
||||
caps = gst_caps_new_simple ("audio/x-private1-lpcm", NULL);
|
||||
caps = gst_caps_new_simple ("audio/x-private-ts-lpcm", NULL);
|
||||
break;
|
||||
case ST_PS_DVD_SUBPICTURE:
|
||||
template = klass->subpicture_template;
|
||||
|
|
Loading…
Reference in a new issue