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.
This commit is contained in:
Wim Taymans 2005-07-16 13:58:21 +00:00
parent 9b2794cf3a
commit 567802ca2c
3 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,12 @@
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:

View file

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

View file

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