mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/law/alaw-decode.c: Trying to get items from an ANY or EMPTY caps is ... stupid.
Original commit message from CVS: * gst/law/alaw-decode.c: (alawdec_getcaps): Trying to get items from an ANY or EMPTY caps is ... stupid.
This commit is contained in:
parent
b91d63fb3b
commit
ab8c061685
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-02 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* gst/law/alaw-decode.c: (alawdec_getcaps):
|
||||||
|
Trying to get items from an ANY or EMPTY caps is ... stupid.
|
||||||
|
|
||||||
2006-06-02 Edward Hervey <edward@fluendo.com>
|
2006-06-02 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_event),
|
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_event),
|
||||||
|
|
|
@ -90,7 +90,8 @@ alawdec_getcaps (GstPad * pad)
|
||||||
}
|
}
|
||||||
/* now intersect rate and channels from peer caps */
|
/* now intersect rate and channels from peer caps */
|
||||||
othercaps = gst_pad_peer_get_caps (otherpad);
|
othercaps = gst_pad_peer_get_caps (otherpad);
|
||||||
if (othercaps) {
|
if (othercaps && (!gst_caps_is_empty (othercaps))
|
||||||
|
&& (!gst_caps_is_any (othercaps))) {
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
const GValue *orate, *ochans;
|
const GValue *orate, *ochans;
|
||||||
const GValue *rate, *chans;
|
const GValue *rate, *chans;
|
||||||
|
|
Loading…
Reference in a new issue