#endif
GST_LOG_OBJECT (decoder,
- "finish frame sync=%d pts=%" GST_TIME_FORMAT,
+ "finish frame %p sync=%d pts=%" GST_TIME_FORMAT, frame,
GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT (frame), GST_TIME_ARGS (frame->pts));
/* Push all pending events that arrived before this frame */
GstVideoCodecFrame *tmp = l->data;
if (tmp->events) {
- events = tmp->events;
+ events = g_list_concat (events, tmp->events);
tmp->events = NULL;
}
GstMessage *qos_msg;
gdouble proportion;
- GST_LOG_OBJECT (dec, "drop frame");
+ GST_LOG_OBJECT (dec, "drop frame %p", frame);
GST_VIDEO_DECODER_STREAM_LOCK (dec);
guint64 start, stop;
GstSegment *segment;
- GST_LOG_OBJECT (decoder, "finish frame");
+ GST_LOG_OBJECT (decoder, "finish frame %p", frame);
if (G_UNLIKELY (priv->output_state_changed || (priv->output_state
&& gst_pad_check_reconfigure (decoder->srcpad))))
{
g_return_if_fail (frame != NULL);
+ GST_DEBUG ("free frame %p", frame);
+
if (frame->input_buffer) {
gst_buffer_unref (frame->input_buffer);
}