mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
gst/mxf/mxfdemux.c: Improve debugging a bit.
Original commit message from CVS: * gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_generic_container_essence_element): Improve debugging a bit.
This commit is contained in:
parent
f7ed484606
commit
bc1fdfd0bd
2 changed files with 18 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-12-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/mxf/mxfdemux.c:
|
||||||
|
(gst_mxf_demux_handle_generic_container_essence_element):
|
||||||
|
Improve debugging a bit.
|
||||||
|
|
||||||
2008-12-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
2008-12-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* gst/flv/gstflvparse.c: (FLV_GET_STRING):
|
* gst/flv/gstflvparse.c: (FLV_GET_STRING):
|
||||||
|
|
|
@ -1293,8 +1293,9 @@ gst_mxf_demux_handle_header_metadata_resolve_references (GstMXFDemux * demux)
|
||||||
MXFMetadataEssenceContainerData, i);
|
MXFMetadataEssenceContainerData, i);
|
||||||
|
|
||||||
for (j = 0; j < demux->content_storage.n_essence_container_data; j++) {
|
for (j = 0; j < demux->content_storage.n_essence_container_data; j++) {
|
||||||
if (mxf_ul_is_equal (&demux->content_storage.
|
if (mxf_ul_is_equal (&demux->
|
||||||
essence_container_data_uids[j], &data->instance_uid)) {
|
content_storage.essence_container_data_uids[j],
|
||||||
|
&data->instance_uid)) {
|
||||||
demux->content_storage.essence_container_data[j] = data;
|
demux->content_storage.essence_container_data[j] = data;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -2172,8 +2173,17 @@ gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux,
|
||||||
|
|
||||||
if (outbuf) {
|
if (outbuf) {
|
||||||
/* TODO: handle timestamp gaps */
|
/* TODO: handle timestamp gaps */
|
||||||
|
GST_DEBUG_OBJECT (demux,
|
||||||
|
"Pushing buffer of size %u for track %u: timestamp %" GST_TIME_FORMAT
|
||||||
|
" duration %" GST_TIME_FORMAT, GST_BUFFER_SIZE (outbuf),
|
||||||
|
pad->material_track->track_id,
|
||||||
|
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf)),
|
||||||
|
GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)));
|
||||||
ret = gst_pad_push (GST_PAD_CAST (pad), outbuf);
|
ret = gst_pad_push (GST_PAD_CAST (pad), outbuf);
|
||||||
ret = gst_mxf_demux_combine_flows (demux, pad, ret);
|
ret = gst_mxf_demux_combine_flows (demux, pad, ret);
|
||||||
|
} else {
|
||||||
|
GST_DEBUG_OBJECT (demux, "Dropping buffer for track %u",
|
||||||
|
pad->material_track->track_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue