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
gstreamer
Commits
d9f3d356
Commit
d9f3d356
authored
Jul 22, 2013
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typefind: Use new group-id in stream-start event
parent
6363216e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
plugins/elements/gsttypefindelement.c
plugins/elements/gsttypefindelement.c
+4
-1
No files found.
plugins/elements/gsttypefindelement.c
View file @
d9f3d356
...
...
@@ -989,12 +989,15 @@ gst_type_find_element_loop (GstPad * pad)
if
(
typefind
->
need_stream_start
)
{
gchar
*
stream_id
;
GstEvent
*
event
;
stream_id
=
gst_pad_create_stream_id
(
typefind
->
src
,
GST_ELEMENT_CAST
(
typefind
),
NULL
);
GST_DEBUG_OBJECT
(
typefind
,
"Pushing STREAM_START"
);
gst_pad_push_event
(
typefind
->
src
,
gst_event_new_stream_start
(
stream_id
));
event
=
gst_event_new_stream_start
(
stream_id
);
gst_event_set_group_id
(
event
,
gst_util_group_id_next
());
gst_pad_push_event
(
typefind
->
src
,
event
);
typefind
->
need_stream_start
=
FALSE
;
g_free
(
stream_id
);
...
...
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