mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
gst/matroska/ebml-write.c: Ensure that we set correct caps on buffers that are transferred direct from the input.
Original commit message from CVS: * gst/matroska/ebml-write.c: (gst_ebml_write_element_push): Ensure that we set correct caps on buffers that are transferred direct from the input.
This commit is contained in:
parent
1af582d518
commit
d2d26594f9
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/matroska/ebml-write.c: (gst_ebml_write_element_push):
|
||||
Ensure that we set correct caps on buffers that are transferred
|
||||
direct from the input.
|
||||
|
||||
2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/goom/filters.c: (zoomFilterDestroy):
|
||||
|
|
|
@ -367,6 +367,8 @@ gst_ebml_write_element_push (GstEbmlWrite * ebml, GstBuffer * buf)
|
|||
if (gst_pad_push_event (ebml->srcpad, ev))
|
||||
ebml->need_newsegment = FALSE;
|
||||
}
|
||||
buf = gst_buffer_make_metadata_writable (buf);
|
||||
gst_buffer_set_caps (buf, GST_PAD_CAPS (ebml->srcpad));
|
||||
ebml->last_write_result = gst_pad_push (ebml->srcpad, buf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue