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-base
Commits
c6bc271e
Commit
c6bc271e
authored
Dec 21, 2010
by
Edward Hervey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoding-profile: Add guard against profiles without format
parent
d20b84f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gst-libs/gst/pbutils/encoding-profile.c
gst-libs/gst/pbutils/encoding-profile.c
+2
-0
No files found.
gst-libs/gst/pbutils/encoding-profile.c
View file @
c6bc271e
...
...
@@ -673,6 +673,8 @@ GstEncodingContainerProfile *
gst_encoding_container_profile_new
(
const
gchar
*
name
,
const
gchar
*
description
,
GstCaps
*
format
,
const
gchar
*
preset
)
{
g_return_val_if_fail
(
GST_IS_CAPS
(
format
),
NULL
);
return
(
GstEncodingContainerProfile
*
)
common_creation
(
GST_TYPE_ENCODING_CONTAINER_PROFILE
,
format
,
preset
,
name
,
description
,
NULL
,
0
);
...
...
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