From b60d71482ffe47486fa300eb83bc0e3f15a8b837 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Fri, 4 Sep 2009 12:35:31 +0200 Subject: [PATCH] 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. --- gst/mpegdemux/gstmpegtsdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c index a0b1901067..e7226f00ce 100644 --- a/gst/mpegdemux/gstmpegtsdemux.c +++ b/gst/mpegdemux/gstmpegtsdemux.c @@ -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;