diff options
author | Edward Hervey <edward@collabora.com> | 2013-07-29 09:35:08 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-07-29 09:42:12 +0200 |
commit | 97426a1caac4abba03f43a5c4b6c6fcff30ba167 (patch) | |
tree | 48d2af2f49a72da383a97d2b7a00ae09799e3426 /gst/dvdspu | |
parent | bc84cd775fac9f6163526fba55d2f68dc3c067c1 (diff) | |
download | gstreamer-plugins-bad-97426a1caac4abba03f43a5c4b6c6fcff30ba167.tar.gz |
all: Fix for GST_DISABLE_GST_DEBUG
Where applicable, remove methods that don't do anything different than
the default implementation.
Diffstat (limited to 'gst/dvdspu')
-rw-r--r-- | gst/dvdspu/gstdvdspu.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index d1610fe51..f36d942ef 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -788,22 +788,19 @@ gst_dvd_spu_advance_spu (GstDVDSpu * dvdspu, GstClockTime new_ts) GST_TIME_ARGS (state->next_ts), GST_TIME_ARGS (new_ts)); if (!gstspu_execute_event (dvdspu)) { - GstClockTime vid_run_ts; - /* No current command buffer, try and get one */ SpuPacket *packet = (SpuPacket *) g_queue_pop_head (dvdspu->pending_spus); if (packet == NULL) return; /* No SPU packets available */ - vid_run_ts = - gst_segment_to_running_time (&dvdspu->video_seg, GST_FORMAT_TIME, - dvdspu->video_seg.position); GST_LOG_OBJECT (dvdspu, "Popped new SPU packet with TS %" GST_TIME_FORMAT ". Video position=%" GST_TIME_FORMAT " (%" GST_TIME_FORMAT ") type %s", - GST_TIME_ARGS (packet->event_ts), GST_TIME_ARGS (vid_run_ts), + GST_TIME_ARGS (packet->event_ts), + GST_TIME_ARGS (gst_segment_to_running_time (&dvdspu->video_seg, + GST_FORMAT_TIME, dvdspu->video_seg.position)), GST_TIME_ARGS (dvdspu->video_seg.position), packet->buf ? "buffer" : "event"); |