Fix previous commit so that things still work with debug logs enabled

This commit is contained in:
Tim-Philipp Müller 2009-06-19 17:04:13 +01:00
parent 6eb167a176
commit 98292e9efd
2 changed files with 3 additions and 2 deletions

View file

@ -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);
}

View file

@ -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)