From: Louis-Francis Ratté-Boulianne Date: Thu, 31 Jan 2013 21:14:37 +0000 (-0500) Subject: mssdemux: log manifest content for debugging X-Git-Tag: 1.19.3~507^2~13705 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0239d77999b1ab77f0a9f21ca6f2843e0e57e151;p=platform%2Fupstream%2Fgstreamer.git mssdemux: log manifest content for debugging --- diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c index 34ec651202..47dc8948c0 100644 --- a/ext/smoothstreaming/gstmssdemux.c +++ b/ext/smoothstreaming/gstmssdemux.c @@ -406,6 +406,9 @@ gst_mss_demux_chain (GstPad * pad, GstBuffer * buffer) mssdemux->manifest_buffer = gst_buffer_join (mssdemux->manifest_buffer, buffer); + GST_INFO_OBJECT (mssdemux, "Received manifest buffer, total size is %i bytes", + GST_BUFFER_SIZE (mssdemux->manifest_buffer)); + return GST_FLOW_OK; } @@ -450,6 +453,7 @@ gst_mss_demux_event (GstPad * pad, GstEvent * event) GST_WARNING_OBJECT (mssdemux, "Received EOS without a manifest."); break; } + GST_INFO_OBJECT (mssdemux, "Received EOS"); if (gst_mss_demux_process_manifest (mssdemux)) gst_mss_demux_start (mssdemux); @@ -813,6 +817,9 @@ gst_mss_demux_process_manifest (GstMssDemux * mssdemux) return FALSE; } + GST_INFO_OBJECT (mssdemux, "Received manifest: %i bytes", + GST_BUFFER_SIZE (mssdemux->manifest_buffer)); + mssdemux->manifest = gst_mss_manifest_new (mssdemux->manifest_buffer); if (!mssdemux->manifest) { GST_ELEMENT_ERROR (mssdemux, STREAM, FORMAT, ("Bad manifest file"),