Commit 567802ca authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/audioconvert/gstaudioconvert.c: Timestamp buffers correctly.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_get_buffer):
Timestamp buffers correctly.

* gst/playback/gstplaybin.c: (gen_video_element):
Make internal fakesink silent.
parent 9b2794cf
2005-07-16 Wim Taymans <wim@fluendo.com>
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_get_buffer):
Timestamp buffers correctly.
* gst/playback/gstplaybin.c: (gen_video_element):
Make internal fakesink silent.
2005-07-15 Wim Taymans <wim@fluendo.com>
* gst/ffmpegcolorspace/Makefile.am:
......
......@@ -640,7 +640,7 @@ gst_audio_convert_get_buffer (GstBuffer * buf, guint size)
} else {
ret = gst_buffer_new_and_alloc (size);
g_assert (ret);
//gst_buffer_stamp (ret, buf);
gst_buffer_stamp (ret, buf);
GST_LOG ("returning new buffer. data: %p - size: %u", ret->data, ret->size);
return ret;
}
......
......@@ -387,6 +387,7 @@ gen_video_element (GstPlayBin * play_bin)
element = gst_bin_new ("vbin");
identity = gst_element_factory_make ("identity", "id");
g_object_set (identity, "silent", TRUE, NULL);
g_signal_connect (identity, "handoff", G_CALLBACK (handoff), play_bin);
conv = gst_element_factory_make ("ffmpegcolorspace", "vconv");
//scale = gst_element_factory_make ("videoscale", "vscale");
......
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