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
5f000e6a
Commit
5f000e6a
authored
Aug 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: return useful/visible video dimensions (fixes #15122)
parent
cb267c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/media.c
lib/media.c
+4
-4
No files found.
lib/media.c
View file @
5f000e6a
...
@@ -861,8 +861,8 @@ libvlc_media_get_tracks_info( libvlc_media_t *p_md, libvlc_media_track_info_t **
...
@@ -861,8 +861,8 @@ libvlc_media_get_tracks_info( libvlc_media_t *p_md, libvlc_media_track_info_t **
break
;
break
;
case
VIDEO_ES
:
case
VIDEO_ES
:
p_mes
->
i_type
=
libvlc_track_video
;
p_mes
->
i_type
=
libvlc_track_video
;
p_mes
->
u
.
video
.
i_height
=
p_es
->
video
.
i_height
;
p_mes
->
u
.
video
.
i_height
=
p_es
->
video
.
i_
visible_
height
;
p_mes
->
u
.
video
.
i_width
=
p_es
->
video
.
i_width
;
p_mes
->
u
.
video
.
i_width
=
p_es
->
video
.
i_
visible_
width
;
break
;
break
;
case
AUDIO_ES
:
case
AUDIO_ES
:
p_mes
->
i_type
=
libvlc_track_audio
;
p_mes
->
i_type
=
libvlc_track_audio
;
...
@@ -937,8 +937,8 @@ libvlc_media_tracks_get( libvlc_media_t *p_md, libvlc_media_track_t *** pp_es )
...
@@ -937,8 +937,8 @@ libvlc_media_tracks_get( libvlc_media_t *p_md, libvlc_media_track_t *** pp_es )
break
;
break
;
case
VIDEO_ES
:
case
VIDEO_ES
:
p_mes
->
i_type
=
libvlc_track_video
;
p_mes
->
i_type
=
libvlc_track_video
;
p_mes
->
video
->
i_height
=
p_es
->
video
.
i_height
;
p_mes
->
video
->
i_height
=
p_es
->
video
.
i_
visible_
height
;
p_mes
->
video
->
i_width
=
p_es
->
video
.
i_width
;
p_mes
->
video
->
i_width
=
p_es
->
video
.
i_
visible_
width
;
p_mes
->
video
->
i_sar_num
=
p_es
->
video
.
i_sar_num
;
p_mes
->
video
->
i_sar_num
=
p_es
->
video
.
i_sar_num
;
p_mes
->
video
->
i_sar_den
=
p_es
->
video
.
i_sar_den
;
p_mes
->
video
->
i_sar_den
=
p_es
->
video
.
i_sar_den
;
p_mes
->
video
->
i_frame_rate_num
=
p_es
->
video
.
i_frame_rate
;
p_mes
->
video
->
i_frame_rate_num
=
p_es
->
video
.
i_frame_rate
;
...
...
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