slomo gst-plugins-bad: gst-plugins-bad/ gst-plugins-bad/gst/mxf/
[email protected] Mon, 8 Dec 2008 05:49:00 -0800 (PST)
| Newsgroups | gmane.comp.video.gstreamer.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVS Root: /cvs/gstreamer
Module: gst-plugins-bad
Changes by: slomo
Date: Mon Dec 08 2008 13:49:00 UTC
Log message:
* gst/mxf/mxfup.c: (mxf_up_handle_essence_element):
Don't create a subbuffer, instead just change the buffer metadata
of the input buffer.
Modified files:
. : ChangeLog
gst/mxf : mxfup.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3799&r2=1.3800
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/mxf/mxfup.c.diff?r1=1.2&r2=1.3
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v
retrieving revision 1.3799
retrieving revision 1.3800
diff -u -d -r1.3799 -r1.3800
--- ChangeLog 7 Dec 2008 20:12:31 -0000 1.3799
+++ ChangeLog 8 Dec 2008 13:48:44 -0000 1.3800
@@ -1,3 +1,9 @@
+2008-12-08 Sebastian Dröge <[email protected]>
+
+ * gst/mxf/mxfup.c: (mxf_up_handle_essence_element):
+ Don't create a subbuffer, instead just change the buffer metadata
+ of the input buffer.
2008-12-07 Sebastian Dröge <[email protected]>
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pad_finalize),
Index: mxfup.c
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/mxf/mxfup.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mxfup.c 7 Dec 2008 18:39:41 -0000 1.2
+++ mxfup.c 8 Dec 2008 13:48:46 -0000 1.3
@@ -94,14 +94,10 @@
GST_ERROR ("Invalid buffer size");
return GST_FLOW_ERROR;
} else {
- *outbuf =
- gst_buffer_create_sub (buffer, data->image_start_offset,
- GST_BUFFER_SIZE (buffer) - data->image_end_offset -
- data->image_start_offset);
- gst_buffer_copy_metadata (*outbuf, buffer,
- GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS |
- GST_BUFFER_COPY_CAPS);
- gst_buffer_unref (buffer);
+ GST_BUFFER_DATA (buffer) += data->image_start_offset;
+ GST_BUFFER_SIZE (buffer) -= data->image_start_offset;
+ GST_BUFFER_SIZE (buffer) -= data->image_end_offset;
+ *outbuf = buffer;
}
}
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose