From 98292e9efd73dc11f704cdea986297b445315243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 19 Jun 2009 17:04:13 +0100 Subject: Fix previous commit so that things still work with debug logs enabled --- ext/mythtv/gstmythtvsrc.c | 3 ++- gst/mpegtsmux/mpegtsmux.c | 2 +- 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) -- cgit v1.2.1