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:
Jan Schmidt 2006-03-20 18:34:21 +00:00
parent 1af582d518
commit d2d26594f9
2 changed files with 8 additions and 0 deletions

View file

@ -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):

View file

@ -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);
}
}