mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
9b2794cf3a
commit
567802ca2c
3 changed files with 11 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue