Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GStreamer
gst-libav
Commits
048b0145
Commit
048b0145
authored
Jun 30, 2009
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpegdemux: post tags after the initial newsegment event
parent
793e25cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ext/ffmpeg/gstffmpegdemux.c
ext/ffmpeg/gstffmpegdemux.c
+7
-7
No files found.
ext/ffmpeg/gstffmpegdemux.c
View file @
048b0145
...
...
@@ -1162,13 +1162,6 @@ gst_ffmpegdemux_open (GstFFMpegDemux * demux)
gst_element_no_more_pads
(
GST_ELEMENT
(
demux
));
/* grab the tags */
tags
=
gst_ffmpegdemux_read_tags
(
demux
);
if
(
tags
)
{
gst_element_post_message
(
GST_ELEMENT
(
demux
),
gst_message_new_tag
(
GST_OBJECT
(
demux
),
tags
));
}
/* transform some useful info to GstClockTime and remember */
demux
->
start_time
=
gst_util_uint64_scale_int
(
demux
->
context
->
start_time
,
GST_SECOND
,
AV_TIME_BASE
);
...
...
@@ -1202,6 +1195,13 @@ gst_ffmpegdemux_open (GstFFMpegDemux * demux)
demux
->
segment
.
start
,
demux
->
segment
.
stop
,
demux
->
segment
.
time
));
}
/* grab the tags */
tags
=
gst_ffmpegdemux_read_tags
(
demux
);
if
(
tags
)
{
gst_element_post_message
(
GST_ELEMENT
(
demux
),
gst_message_new_tag
(
GST_OBJECT
(
demux
),
tags
));
}
return
TRUE
;
/* ERRORS */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment