Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
f48d0cb0
Commit
f48d0cb0
authored
Oct 03, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec: videotoolbox: fix build
parent
1a981692
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/codec/videotoolbox.m
modules/codec/videotoolbox.m
+5
-5
No files found.
modules/codec/videotoolbox.m
View file @
f48d0cb0
...
...
@@ -626,10 +626,10 @@ static bool VideoToolboxNeedsToRestartH264(decoder_t *p_dec,
unsigned w, h, vw, vh;
int sarn, sard;
if (h
264
_helper_get_current_picture_size(hh, &w, &h, &vw, &vh) != VLC_SUCCESS)
if (h
xxx
_helper_get_current_picture_size(hh, &w, &h, &vw, &vh) != VLC_SUCCESS)
return true;
if (h
264
_helper_get_current_sar(hh, &sarn, &sard) != VLC_SUCCESS)
if (h
xxx
_helper_get_current_sar(hh, &sarn, &sard) != VLC_SUCCESS)
return true;
CFMutableDictionaryRef extradataInfo = H264ExtradataInfoCreate(hh);
...
...
@@ -1152,19 +1152,19 @@ static int SetH264DecoderInfo(decoder_t *p_dec, CFMutableDictionaryRef extradata
unsigned i_h264_width, i_h264_height, i_video_width, i_video_height;
int i_sar_num, i_sar_den, i_ret;
i_ret = h
264
_helper_get_current_profile_level(&p_sys->hh, &i_profile, &i_level);
i_ret = h
xxx
_helper_get_current_profile_level(&p_sys->hh, &i_profile, &i_level);
if (i_ret != VLC_SUCCESS)
return i_ret;
if (!IsH264ProfileLevelSupported(p_dec, i_profile, i_level))
return VLC_ENOMOD; /* This error is critical */
i_ret = h
264
_helper_get_current_picture_size(&p_sys->hh,
i_ret = h
xxx
_helper_get_current_picture_size(&p_sys->hh,
&i_h264_width, &i_h264_height,
&i_video_width, &i_video_height);
if (i_ret != VLC_SUCCESS)
return i_ret;
i_ret = h
264
_helper_get_current_sar(&p_sys->hh, &i_sar_num, &i_sar_den);
i_ret = h
xxx
_helper_get_current_sar(&p_sys->hh, &i_sar_num, &i_sar_den);
if (i_ret != VLC_SUCCESS)
return i_ret;
...
...
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