summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 17:04:13 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-19 17:04:48 +0100
commit98292e9efd73dc11f704cdea986297b445315243 (patch)
tree03c82646d5c67f1835266b5b0f14dd0cdf9200db
parent6eb167a17698506fc08f47594e133fa4e44afd3e (diff)
downloadgst-plugins-bad-98292e9efd73dc11f704cdea986297b445315243.tar.gz
gst-plugins-bad-98292e9efd73dc11f704cdea986297b445315243.tar.bz2
gst-plugins-bad-98292e9efd73dc11f704cdea986297b445315243.zip
Fix previous commit so that things still work with debug logs enabled
-rw-r--r--ext/mythtv/gstmythtvsrc.c3
-rw-r--r--gst/mpegtsmux/mpegtsmux.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c
index 6a11f2d4..c3121669 100644
--- a/ext/mythtv/gstmythtvsrc.c
+++ b/ext/mythtv/gstmythtvsrc.c
@@ -1019,5 +1019,6 @@ gst_mythtv_src_uri_handler_init (gpointer g_iface, gpointer iface_data)
void
size_header_handler (void *src, const char *value)
{
- GST_DEBUG_OBJECT (src, "content size = %lld bytes", src->content_size);
+ GST_DEBUG_OBJECT (src, "content size = %" G_GUINT64_FORMAT " bytes",
+ GST_MYTHTV_SRC (src)->content_size);
}
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 2df635bc..edda2600 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -523,7 +523,7 @@ mpegtsmux_choose_best_stream (MpegTsMux * mux)
return best;
}
-#define COLLECT_DATA_PAD(collect_data) ((GstCollectData *)(collect_data))->pad)
+#define COLLECT_DATA_PAD(collect_data) (((GstCollectData *)(collect_data))->pad)
static GstFlowReturn
mpegtsmux_collected (GstCollectPads * pads, MpegTsMux * mux)