mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
matroskademux: Remove the TOC query handling
This commit is contained in:
parent
04e0bbef17
commit
2e90ff9bb9
1 changed files with 0 additions and 16 deletions
|
@ -1431,22 +1431,6 @@ gst_matroska_demux_query (GstMatroskaDemux * demux, GstPad * pad,
|
|||
GST_OBJECT_UNLOCK (demux);
|
||||
break;
|
||||
}
|
||||
|
||||
case GST_QUERY_TOC:
|
||||
{
|
||||
GstToc *toc = NULL;
|
||||
|
||||
GST_OBJECT_LOCK (demux);
|
||||
if (demux->common.toc) {
|
||||
toc = demux->common.toc;
|
||||
res = TRUE;
|
||||
} else {
|
||||
res = FALSE;
|
||||
}
|
||||
gst_query_set_toc (query, toc, 0);
|
||||
GST_OBJECT_UNLOCK (demux);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
res = gst_pad_query_default (pad, (GstObject *) demux, query);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue