projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847ba2a
)
dvdec: Properly refuse incoming stream without framerate
author
Edward Hervey
<bilboed@bilboed.com>
Fri, 11 Apr 2014 09:53:42 +0000
(11:53 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 11 Apr 2014 09:53:42 +0000
(11:53 +0200)
The return value wasn't properly propagated back if the caps
didn't contain a framerate
ext/dv/gstdvdec.c
patch
|
blob
|
history
diff --git
a/ext/dv/gstdvdec.c
b/ext/dv/gstdvdec.c
index c84461e6319a5f9d3a8ff37d00430638844ce46a..ea2ea417b10576c9416076ed2e6c3ca58ea97173 100644
(file)
--- a/
ext/dv/gstdvdec.c
+++ b/
ext/dv/gstdvdec.c
@@
-393,10
+393,9
@@
gst_dvdec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
GstCaps *caps;
gst_event_parse_caps (event, &caps);
- gst_dvdec_sink_setcaps (dvdec, caps);
+
res =
gst_dvdec_sink_setcaps (dvdec, caps);
gst_event_unref (event);
event = NULL;
- res = TRUE;
break;
}