mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
sys/oss/gstosssink.c: Fix for bug shown by poisoning
Original commit message from CVS: 2004-01-07 Benjamin Otte <in7y118@public.uni-hamburg.de> * sys/oss/gstosssink.c: (gst_osssink_sink_fixate): Fix for bug shown by poisoning
This commit is contained in:
parent
ae16daaec8
commit
086e0f436e
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-07 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
|
||||
Fix for bug shown by poisoning
|
||||
|
||||
2004-01-06 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
|
||||
|
|
|
@ -221,8 +221,8 @@ gst_osssink_sink_fixate (GstPad *pad, const GstCaps *caps)
|
|||
GstCaps *newcaps;
|
||||
GstStructure *structure;
|
||||
|
||||
structure = gst_structure_copy(gst_caps_get_structure (caps, 0));
|
||||
newcaps = gst_caps_new_full (structure, NULL);
|
||||
newcaps = gst_caps_new_full (gst_structure_copy(gst_caps_get_structure (caps, 0)), NULL);
|
||||
structure = gst_caps_get_structure (newcaps, 0);
|
||||
|
||||
if (gst_caps_structure_fixate_field_nearest_int (structure, "rate", 44100)) {
|
||||
return newcaps;
|
||||
|
|
Loading…
Reference in a new issue