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:
500bccf
)
videotestsrc: avoid setting caps on buffers
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Sun, 8 May 2011 11:09:35 +0000
(13:09 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Sun, 8 May 2011 11:14:32 +0000
(13:14 +0200)
We don't need to set caps on buffers anymore, this is now done with a caps
event.
gst/videotestsrc/gstvideotestsrc.c
patch
|
blob
|
history
diff --git
a/gst/videotestsrc/gstvideotestsrc.c
b/gst/videotestsrc/gstvideotestsrc.c
index
addeba9
..
b4f44c4
100644
(file)
--- a/
gst/videotestsrc/gstvideotestsrc.c
+++ b/
gst/videotestsrc/gstvideotestsrc.c
@@
-893,8
+893,6
@@
gst_video_test_src_create (GstPushSrc * psrc, GstBuffer ** buffer)
if (res != GST_FLOW_OK)
goto no_buffer;
- gst_buffer_set_caps (outbuf, GST_PAD_CAPS (GST_BASE_SRC_PAD (psrc)));
-
data = gst_buffer_map (outbuf, &size, NULL, GST_MAP_WRITE);
memset (data, 0, size);
src->tmpline_u8 = g_malloc (src->width + 8);