summaryrefslogtreecommitdiff
path: root/gst/dvdspu
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 16:21:28 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 16:21:28 +0100
commit6eb167a17698506fc08f47594e133fa4e44afd3e (patch)
tree8a042362aa7f2c60cf5f39070a4d8c0cd713926a /gst/dvdspu
parent29aa30d9a05bf6c408160de108f2486a0c08bd48 (diff)
downloadgstreamer-plugins-bad-6eb167a17698506fc08f47594e133fa4e44afd3e.tar.gz
Make build without warnings with debugging disabled
Diffstat (limited to 'gst/dvdspu')
-rw-r--r--gst/dvdspu/gstdvdspu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c
index f5fce4bc9..af8bc99e9 100644
--- a/gst/dvdspu/gstdvdspu.c
+++ b/gst/dvdspu/gstdvdspu.c
@@ -716,12 +716,11 @@ gst_dvd_spu_redraw_still (GstDVDSpu * dvdspu, gboolean force)
static void
gst_dvd_spu_handle_dvd_event (GstDVDSpu * dvdspu, GstEvent * event)
{
- const GstStructure *structure = gst_event_get_structure (event);
- const gchar *event_type = gst_structure_get_string (structure, "event");
gboolean hl_change = FALSE;
GST_INFO_OBJECT (dvdspu, "DVD event of type %s on subp pad OOB=%d",
- event_type, (GST_EVENT_TYPE (event) == GST_EVENT_CUSTOM_DOWNSTREAM_OOB));
+ gst_structure_get_string (event->structure, "event"),
+ (GST_EVENT_TYPE (event) == GST_EVENT_CUSTOM_DOWNSTREAM_OOB));
switch (dvdspu->spu_input_type) {
case SPU_INPUT_TYPE_VOBSUB: