mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
asfdemux: remove some more unused variables
This commit is contained in:
parent
095c8eb5d4
commit
1874bf5910
2 changed files with 0 additions and 22 deletions
|
@ -144,8 +144,6 @@ gst_asf_demux_class_init (GstASFDemuxClass * klass)
|
||||||
static void
|
static void
|
||||||
gst_asf_demux_free_stream (GstASFDemux * demux, AsfStream * stream)
|
gst_asf_demux_free_stream (GstASFDemux * demux, AsfStream * stream)
|
||||||
{
|
{
|
||||||
gst_buffer_replace (&stream->cache, NULL);
|
|
||||||
gst_buffer_replace (&stream->payload, NULL);
|
|
||||||
gst_caps_replace (&stream->caps, NULL);
|
gst_caps_replace (&stream->caps, NULL);
|
||||||
if (stream->pending_tags) {
|
if (stream->pending_tags) {
|
||||||
gst_tag_list_free (stream->pending_tags);
|
gst_tag_list_free (stream->pending_tags);
|
||||||
|
@ -417,12 +415,6 @@ gst_asf_demux_reset_stream_state_after_discont (GstASFDemux * demux)
|
||||||
GST_DEBUG_OBJECT (demux, "reset stream state");
|
GST_DEBUG_OBJECT (demux, "reset stream state");
|
||||||
|
|
||||||
for (n = 0; n < demux->num_streams; n++) {
|
for (n = 0; n < demux->num_streams; n++) {
|
||||||
gst_buffer_replace (&demux->stream[n].payload, NULL);
|
|
||||||
gst_buffer_replace (&demux->stream[n].cache, NULL);
|
|
||||||
demux->stream[n].frag_offset = 0;
|
|
||||||
demux->stream[n].last_pts = GST_CLOCK_TIME_NONE;
|
|
||||||
demux->stream[n].last_buffer_timestamp = GST_CLOCK_TIME_NONE;
|
|
||||||
demux->stream[n].sequence = 0;
|
|
||||||
demux->stream[n].discont = TRUE;
|
demux->stream[n].discont = TRUE;
|
||||||
demux->stream[n].last_flow = GST_FLOW_OK;
|
demux->stream[n].last_flow = GST_FLOW_OK;
|
||||||
|
|
||||||
|
@ -1759,12 +1751,6 @@ gst_asf_demux_setup_pad (GstASFDemux * demux, GstPad * src_pad,
|
||||||
stream->caps = caps;
|
stream->caps = caps;
|
||||||
stream->pad = src_pad;
|
stream->pad = src_pad;
|
||||||
stream->id = id;
|
stream->id = id;
|
||||||
stream->frag_offset = 0;
|
|
||||||
stream->sequence = 0;
|
|
||||||
stream->delay = 0;
|
|
||||||
stream->first_pts = GST_CLOCK_TIME_NONE;
|
|
||||||
stream->last_pts = GST_CLOCK_TIME_NONE;
|
|
||||||
stream->last_buffer_timestamp = GST_CLOCK_TIME_NONE;
|
|
||||||
stream->fps_known = !is_video; /* bit hacky for audio */
|
stream->fps_known = !is_video; /* bit hacky for audio */
|
||||||
stream->is_video = is_video;
|
stream->is_video = is_video;
|
||||||
stream->pending_tags = tags;
|
stream->pending_tags = tags;
|
||||||
|
|
|
@ -83,18 +83,10 @@ typedef struct
|
||||||
|
|
||||||
GstPad *pad;
|
GstPad *pad;
|
||||||
guint16 id;
|
guint16 id;
|
||||||
guint32 frag_offset;
|
|
||||||
guint32 sequence;
|
|
||||||
guint64 delay;
|
|
||||||
guint64 first_pts;
|
|
||||||
guint64 last_pts; /* FIXME: remove, not actually evaluated */
|
|
||||||
GstBuffer *payload;
|
|
||||||
|
|
||||||
/* video-only */
|
/* video-only */
|
||||||
guint64 last_buffer_timestamp; /* timestamp of last buffer sent out */
|
|
||||||
gboolean is_video;
|
gboolean is_video;
|
||||||
gboolean fps_known;
|
gboolean fps_known;
|
||||||
GstBuffer *cache;
|
|
||||||
|
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue