mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
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.
This commit is contained in:
parent
3c563fd3ae
commit
b18aa04605
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* 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 <wim@fluendo.com>
|
||||
|
||||
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue