mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
ext/vorbis/vorbisdec.c: Debug.
Original commit message from CVS: * ext/vorbis/vorbisdec.c: (vorbis_dec_chain): Debug. * sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_grab_frame): If we got a state change in the _get handler, don't return success.
This commit is contained in:
parent
2af93c12fa
commit
e63860b014
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-01-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
|
||||
Debug.
|
||||
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_grab_frame):
|
||||
If we got a state change in the _get handler, don't return success.
|
||||
|
||||
2005-01-10 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
|
||||
|
||||
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_my_output_message),
|
||||
|
|
|
@ -552,6 +552,8 @@ vorbis_dec_chain (GstPad * pad, GstData * data)
|
|||
GST_BUFFER_OFFSET_END (out) = vd->granulepos + sample_count;
|
||||
GST_BUFFER_TIMESTAMP (out) = vd->granulepos * GST_SECOND / vd->vi.rate;
|
||||
GST_BUFFER_DURATION (out) = sample_count * GST_SECOND / vd->vi.rate;
|
||||
GST_DEBUG ("Pushing data of time %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (out)));
|
||||
gst_pad_push (vd->srcpad, GST_DATA (out));
|
||||
vorbis_synthesis_read (&vd->vd, sample_count);
|
||||
vd->granulepos += sample_count;
|
||||
|
|
|
@ -291,7 +291,7 @@ gst_v4lsrc_grab_frame (GstV4lSrc * v4lsrc, gint * num)
|
|||
}
|
||||
if (v4lsrc->quit) {
|
||||
g_mutex_unlock (v4lsrc->mutex_queue_state);
|
||||
return TRUE; /* it won't get through anyway */
|
||||
return FALSE;
|
||||
}
|
||||
if (!gst_v4lsrc_queue_frame (v4lsrc, v4lsrc->queue_frame)) {
|
||||
g_mutex_unlock (v4lsrc->mutex_queue_state);
|
||||
|
|
Loading…
Reference in a new issue