mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
oggdemux: change checks from is_skeleton to is_sparse
This commit is contained in:
parent
5ae2f04856
commit
64dfad46f2
1 changed files with 3 additions and 3 deletions
|
@ -720,7 +720,7 @@ gst_ogg_demux_collect_start_time (GstOggDemux * ogg, GstOggChain * chain)
|
||||||
for (i = 0; i < chain->streams->len; i++) {
|
for (i = 0; i < chain->streams->len; i++) {
|
||||||
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
||||||
|
|
||||||
if (pad->map.is_skeleton)
|
if (pad->map.is_sparse)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* can do this if the pad start time is not defined */
|
/* can do this if the pad start time is not defined */
|
||||||
|
@ -2747,7 +2747,7 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* the timestamp will be filled in when we submit the pages */
|
/* the timestamp will be filled in when we submit the pages */
|
||||||
if (!pad->map.is_skeleton)
|
if (!pad->map.is_sparse)
|
||||||
done &= (pad->start_time != GST_CLOCK_TIME_NONE);
|
done &= (pad->start_time != GST_CLOCK_TIME_NONE);
|
||||||
|
|
||||||
GST_LOG_OBJECT (ogg, "done %08lx now %d", pad->map.serialno, done);
|
GST_LOG_OBJECT (ogg, "done %08lx now %d", pad->map.serialno, done);
|
||||||
|
@ -2821,7 +2821,7 @@ gst_ogg_demux_read_end_chain (GstOggDemux * ogg, GstOggChain * chain)
|
||||||
for (i = 0; i < chain->streams->len; i++) {
|
for (i = 0; i < chain->streams->len; i++) {
|
||||||
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
||||||
|
|
||||||
if (pad->map.is_skeleton)
|
if (pad->map.is_sparse)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (pad->map.serialno == ogg_page_serialno (&og)) {
|
if (pad->map.serialno == ogg_page_serialno (&og)) {
|
||||||
|
|
Loading…
Reference in a new issue