From b18aa046052c8e8199b40ccb4b3f034891bf49ce Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 19 Jun 2007 14:40:20 +0000 Subject: [PATCH] gst/mpegaudioparse/gstmpegaudioparse.c: Fix "pad caps are not a real subset of its template caps" warning. Original commit message from CVS: * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_caps_create): Fix "pad caps are not a real subset of its template caps" warning. --- ChangeLog | 5 +++++ gst/mpegaudioparse/gstmpegaudioparse.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4571c80d30..4721bc4a32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-19 Jan Schmidt + + * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_caps_create): + Fix "pad caps are not a real subset of its template caps" warning. + 2007-06-19 Wim Taymans Patch by: Laurent Glayal diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index 83ffad2308..c55c6fa1e1 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -218,7 +218,8 @@ mp3_caps_create (guint layer, guint channels, guint bitrate, guint samplerate) new = gst_caps_new_simple ("audio/mpeg", "mpegversion", G_TYPE_INT, 1, "layer", G_TYPE_INT, layer, - "rate", G_TYPE_INT, samplerate, "channels", G_TYPE_INT, channels, NULL); + "rate", G_TYPE_INT, samplerate, + "channels", G_TYPE_INT, channels, "parsed", G_TYPE_BOOLEAN, TRUE, NULL); return new; }