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
Seungha Yang
gst-plugins-base
Commits
899a8093
Commit
899a8093
authored
Sep 11, 2012
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext, gst-libs: only activate in pull mode if upstream is seekable
parent
5f4bd0a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ext/ogg/gstoggdemux.c
ext/ogg/gstoggdemux.c
+2
-1
gst-libs/gst/tag/gsttagdemux.c
gst-libs/gst/tag/gsttagdemux.c
+2
-1
No files found.
ext/ogg/gstoggdemux.c
View file @
899a8093
...
...
@@ -4570,7 +4570,8 @@ gst_ogg_demux_sink_activate (GstPad * sinkpad, GstObject * parent)
goto
activate_push
;
}
pull_mode
=
gst_query_has_scheduling_mode
(
query
,
GST_PAD_MODE_PULL
);
pull_mode
=
gst_query_has_scheduling_mode_with_flags
(
query
,
GST_PAD_MODE_PULL
,
GST_SCHEDULING_FLAG_SEEKABLE
);
gst_query_unref
(
query
);
if
(
!
pull_mode
)
...
...
gst-libs/gst/tag/gsttagdemux.c
View file @
899a8093
...
...
@@ -1346,7 +1346,8 @@ gst_tag_demux_sink_activate (GstPad * sinkpad, GstObject * parent)
goto
activate_push
;
}
pull_mode
=
gst_query_has_scheduling_mode
(
query
,
GST_PAD_MODE_PULL
);
pull_mode
=
gst_query_has_scheduling_mode_with_flags
(
query
,
GST_PAD_MODE_PULL
,
GST_SCHEDULING_FLAG_SEEKABLE
);
gst_query_unref
(
query
);
if
(
!
pull_mode
)
...
...
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