mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
sys/oss/: advertise correct template caps - we indeed do non-native endianness and 8bit audio has no endianness
Original commit message from CVS: * sys/oss/gstosssink.c: * sys/oss/gstosssrc.c: advertise correct template caps - we indeed do non-native endianness and 8bit audio has no endianness * sys/ximage/ximagesink.c: (gst_ximagesink_getcaps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps): avoid (wrong) duplications in getcaps function and return template caps
This commit is contained in:
parent
d4474d8ad1
commit
823eddd738
3 changed files with 13 additions and 10 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2004-06-29 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* sys/oss/gstosssink.c:
|
||||||
|
* sys/oss/gstosssrc.c:
|
||||||
|
advertise correct template caps - we indeed do non-native endianness
|
||||||
|
and 8bit audio has no endianness
|
||||||
|
* sys/ximage/ximagesink.c: (gst_ximagesink_getcaps):
|
||||||
|
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps):
|
||||||
|
avoid (wrong) duplications in getcaps function and return
|
||||||
|
template caps
|
||||||
|
|
||||||
2004-06-29 Wim Taymans <wim@fluendo.com>
|
2004-06-29 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
|
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
|
||||||
|
|
|
@ -787,9 +787,7 @@ gst_ximagesink_getcaps (GstPad * pad)
|
||||||
if (ximagesink->xcontext)
|
if (ximagesink->xcontext)
|
||||||
return gst_caps_copy (ximagesink->xcontext->caps);
|
return gst_caps_copy (ximagesink->xcontext->caps);
|
||||||
|
|
||||||
return gst_caps_from_string ("video/x-raw-rgb, "
|
return gst_caps_copy (gst_pad_get_pad_template_caps (pad));
|
||||||
"framerate = (double) [ 1, 100 ], "
|
|
||||||
"width = (int) [ 0, MAX ], " "height = (int) [ 0, MAX ]");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPadLinkReturn
|
static GstPadLinkReturn
|
||||||
|
|
|
@ -1058,13 +1058,7 @@ gst_xvimagesink_getcaps (GstPad * pad)
|
||||||
if (xvimagesink->xcontext)
|
if (xvimagesink->xcontext)
|
||||||
return gst_caps_copy (xvimagesink->xcontext->caps);
|
return gst_caps_copy (xvimagesink->xcontext->caps);
|
||||||
|
|
||||||
return gst_caps_from_string ("video/x-raw-rgb, "
|
return gst_caps_copy (gst_pad_get_pad_template_caps (pad));
|
||||||
"framerate = (double) [ 1.0, 100.0 ], "
|
|
||||||
"width = (int) [ 0, MAX ], "
|
|
||||||
"height = (int) [ 0, MAX ]; "
|
|
||||||
"video/x-raw-yuv, "
|
|
||||||
"framerate = (double) [ 0, MAX ], "
|
|
||||||
"width = (int) [ 0, MAX ], " "height = (int) [ 0, MAX ]");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPadLinkReturn
|
static GstPadLinkReturn
|
||||||
|
|
Loading…
Reference in a new issue