Commit 66a6f341 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

gst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_chain):
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, buffer_probe_cb, GST_START_TEST):
Fix a bug where serialized IN_CAPS buffers needed to be set IN_CAPS.
parent 7f7c429a
2007-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gdp/gstgdppay.c (gst_gdp_pay_chain):
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, buffer_probe_cb, GST_START_TEST):
Fix a bug where serialized IN_CAPS buffers needed to be set IN_CAPS.
2007-04-13 Thomas Vander Stichele <thomas at apestaart dot org> 2007-04-13 Thomas Vander Stichele <thomas at apestaart dot org>
   
* tests/check/pipelines/streamheader.c (tag_event_probe_cb, * tests/check/pipelines/streamheader.c (tag_event_probe_cb,
...@@ -599,6 +599,15 @@ gst_gdp_pay_chain (GstPad * pad, GstBuffer * buffer) ...@@ -599,6 +599,15 @@ gst_gdp_pay_chain (GstPad * pad, GstBuffer * buffer)
if (!outbuffer) if (!outbuffer)
goto no_buffer; goto no_buffer;
/* If the incoming buffer is IN_CAPS, that means we have it on the caps
* as streamheader, and we have serialized a GDP version of it and put it
* on our caps */
if (GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_IN_CAPS)) {
GST_DEBUG_OBJECT (this, "Setting IN_CAPS flag on outgoing buffer %p",
outbuffer);
GST_BUFFER_FLAG_SET (outbuffer, GST_BUFFER_FLAG_IN_CAPS);
}
gst_gdp_stamp_buffer (this, outbuffer); gst_gdp_stamp_buffer (this, outbuffer);
GST_BUFFER_TIMESTAMP (outbuffer) = GST_BUFFER_TIMESTAMP (buffer); GST_BUFFER_TIMESTAMP (outbuffer) = GST_BUFFER_TIMESTAMP (buffer);
GST_BUFFER_DURATION (outbuffer) = GST_BUFFER_DURATION (buffer); GST_BUFFER_DURATION (outbuffer) = GST_BUFFER_DURATION (buffer);
......
...@@ -195,8 +195,7 @@ GST_START_TEST (test_multifdsink_gdp_vorbisenc) ...@@ -195,8 +195,7 @@ GST_START_TEST (test_multifdsink_gdp_vorbisenc)
g_main_loop_run (loop); g_main_loop_run (loop);
//FIXME: here's the bug assert_equals_int (n_in_caps, 3);
//assert_equals_int (n_in_caps, 3);
} }
GST_END_TEST; GST_END_TEST;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment