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:
1225aa9
)
Appsink fixes
author
Matej Knopp
<matej.knopp@gmail.com>
Sun, 4 Dec 2011 21:19:23 +0000
(22:19 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 5 Dec 2011 08:34:50 +0000
(09:34 +0100)
gst-libs/gst/app/gstappsink.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/app/gstappsink.c
b/gst-libs/gst/app/gstappsink.c
index
5904dc9
..
31f3630
100644
(file)
--- a/
gst-libs/gst/app/gstappsink.c
+++ b/
gst-libs/gst/app/gstappsink.c
@@
-662,7
+662,7
@@
dequeue_buffer (GstAppSink * appsink)
gst_event_parse_caps (event, &caps);
GST_DEBUG_OBJECT (appsink, "activating caps %" GST_PTR_FORMAT, caps);
- gst_caps_replace (priv->last_caps, caps);
+ gst_caps_replace (
&
priv->last_caps, caps);
break;
}
case GST_EVENT_SEGMENT:
@@
-1165,7
+1165,7
@@
gst_app_sink_pull_sample (GstAppSink * appsink)
if (!priv->started)
goto not_started;
- if (priv->num_buffers
==
0)
+ if (priv->num_buffers
>
0)
break;
if (priv->is_eos)