Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
468a4179
Commit
468a4179
authored
Jul 09, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau: correct MPEG4 profiles checks
parent
ba5d2dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/hw/vdpau/avcodec.c
modules/hw/vdpau/avcodec.c
+4
-4
No files found.
modules/hw/vdpau/avcodec.c
View file @
468a4179
...
...
@@ -204,12 +204,12 @@ static int Open(vlc_va_t *va, int codec, const es_format_t *fmt)
case
FF_PROFILE_MPEG4_SIMPLE
:
profile
=
VDP_DECODER_PROFILE_MPEG4_PART2_SP
;
break
;
case
FF_PROFILE_MPEG4_SIMPLE_STUDIO
:
msg_Err
(
va
,
"unsupported %s profile %d"
,
"MPEG4"
,
fmt
->
i_profile
);
return
VLC_EGENERIC
;
default:
case
FF_PROFILE_MPEG4_ADVANCED_SIMPLE
:
profile
=
VDP_DECODER_PROFILE_MPEG4_PART2_ASP
;
break
;
default:
msg_Err
(
va
,
"unsupported %s profile %d"
,
"MPEG4"
,
fmt
->
i_profile
);
return
VLC_EGENERIC
;
}
level
=
fmt
->
i_level
;
break
;
...
...
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