mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
oggdemux: remove unused GstOggPadMode enum
This commit is contained in:
parent
b9f8a26f62
commit
882ffc7b98
2 changed files with 0 additions and 19 deletions
|
@ -176,8 +176,6 @@ gst_ogg_pad_init (GstOggPad * pad)
|
|||
GST_DEBUG_FUNCPTR (gst_ogg_pad_src_query));
|
||||
gst_pad_use_fixed_caps (GST_PAD (pad));
|
||||
|
||||
pad->mode = GST_OGG_PAD_MODE_INIT;
|
||||
|
||||
pad->current_granule = -1;
|
||||
pad->keyframe_granule = -1;
|
||||
|
||||
|
@ -3714,15 +3712,6 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain)
|
|||
}
|
||||
}
|
||||
GST_LOG_OBJECT (ogg, "done reading chain");
|
||||
/* now we can fill in the missing info using queries */
|
||||
for (i = 0; i < chain->streams->len; i++) {
|
||||
GstOggPad *pad = g_array_index (chain->streams, GstOggPad *, i);
|
||||
|
||||
if (pad->map.is_skeleton)
|
||||
continue;
|
||||
|
||||
pad->mode = GST_OGG_PAD_MODE_STREAMING;
|
||||
}
|
||||
|
||||
if (res_chain)
|
||||
*res_chain = chain;
|
||||
|
|
|
@ -74,20 +74,12 @@ struct _GstOggChain
|
|||
streams. */
|
||||
};
|
||||
|
||||
/* different modes for the pad */
|
||||
typedef enum
|
||||
{
|
||||
GST_OGG_PAD_MODE_INIT, /* we are feeding our internal decoder to get info */
|
||||
GST_OGG_PAD_MODE_STREAMING, /* we are streaming buffers to the outside */
|
||||
} GstOggPadMode;
|
||||
|
||||
/* all information needed for one ogg stream */
|
||||
struct _GstOggPad
|
||||
{
|
||||
GstPad pad; /* subclass GstPad */
|
||||
|
||||
gboolean have_type;
|
||||
GstOggPadMode mode;
|
||||
|
||||
GstOggChain *chain; /* the chain we are part of */
|
||||
GstOggDemux *ogg; /* the ogg demuxer we are part of */
|
||||
|
|
Loading…
Reference in a new issue