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
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
aca4203c
Commit
aca4203c
authored
Sep 14, 2016
by
Wonchul Lee
Committed by
Sebastian Dröge
Sep 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autodetect: Use gst_bin_set_suppressed_flags() API
https://bugzilla.gnome.org/show_bug.cgi?id=771395
parent
1215849e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gst/autodetect/gstautodetect.c
gst/autodetect/gstautodetect.c
+2
-2
No files found.
gst/autodetect/gstautodetect.c
View file @
aca4203c
...
...
@@ -113,8 +113,6 @@ gst_auto_detect_clear_kid (GstAutoDetect * self)
gst_element_set_state
(
self
->
kid
,
GST_STATE_NULL
);
gst_bin_remove
(
GST_BIN
(
self
),
self
->
kid
);
self
->
kid
=
NULL
;
/* Don't lose the element type flag */
GST_OBJECT_FLAG_SET
(
self
,
self
->
flag
);
}
}
...
...
@@ -204,6 +202,8 @@ gst_auto_detect_constructed (GObject * object)
/* mark element type */
GST_OBJECT_FLAG_SET
(
self
,
self
->
flag
);
gst_bin_set_suppressed_flags
(
GST_BIN
(
self
),
GST_ELEMENT_FLAG_SOURCE
|
GST_ELEMENT_FLAG_SINK
);
}
static
gboolean
...
...
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