diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-05-15 06:34:48 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-05-15 06:34:48 +0000 |
commit | c7ecf8c9a8c3c97adddbc07796c8524e85cbc6ef (patch) | |
tree | f79c2d5ec413b178711bfc95a19c64e87c9da7bd | |
parent | 1a818e4151fab4762b6beb466ab278f0e5e46a8f (diff) |
gst/debug/breakmydata.c: Fix gst_buffer_is_writable() assertion.
Original commit message from CVS:
* gst/debug/breakmydata.c: (gst_break_my_data_class_init),
(gst_break_my_data_init):
Fix gst_buffer_is_writable() assertion.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/debug/breakmydata.c | 7 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2007-05-15 Stefan Kost <ensonic@users.sf.net> + + * gst/debug/breakmydata.c: (gst_break_my_data_class_init), + (gst_break_my_data_init): + Fix gst_buffer_is_writable() assertion. + 2007-05-14 David Schleef <ds@schleef.org> * sys/v4l2/gstv4l2src.c: Add support for Bayer images as diff --git a/gst/debug/breakmydata.c b/gst/debug/breakmydata.c index 252ee39a..d2a94d89 100644 --- a/gst/debug/breakmydata.c +++ b/gst/debug/breakmydata.c @@ -27,7 +27,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_break_my_data_debug); #define GST_CAT_DEFAULT gst_break_my_data_debug -/* This plugin modifies the contents of the buffer it is passed randomly +/* This plugin modifies the contents of the buffer it is passed randomly * according to the parameters set. * It otherwise acts as an identity. */ @@ -149,13 +149,14 @@ gst_break_my_data_class_init (GstBreakMyDataClass * klass) GST_DEBUG_FUNCPTR (gst_break_my_data_transform_ip); gstbasetrans_class->start = GST_DEBUG_FUNCPTR (gst_break_my_data_start); gstbasetrans_class->stop = GST_DEBUG_FUNCPTR (gst_break_my_data_stop); - gstbasetrans_class->passthrough_on_same_caps = TRUE; + //gstbasetrans_class->passthrough_on_same_caps = TRUE; } static void gst_break_my_data_init (GstBreakMyData * bmd, GstBreakMyDataClass * g_class) { - gst_base_transform_set_in_place (GST_BASE_TRANSFORM (bmd), TRUE); + gst_base_transform_set_in_place (GST_BASE_TRANSFORM (bmd), FALSE); + gst_base_transform_set_passthrough (GST_BASE_TRANSFORM (bmd), TRUE); } static void |