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
47cf242f
Commit
47cf242f
authored
Jan 17, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Implement libvlc_video_get_size(), close #3679"
This reverts commit
8cf35578
.
parent
4729c93f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
15 deletions
+11
-15
lib/video.c
lib/video.c
+11
-15
No files found.
lib/video.c
View file @
47cf242f
...
...
@@ -161,22 +161,18 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, unsigned num,
int
libvlc_video_get_size
(
libvlc_media_player_t
*
p_mi
,
unsigned
num
,
unsigned
*
restrict
px
,
unsigned
*
restrict
py
)
{
libvlc_media_track_info_t
*
info
;
int
ret
=
-
1
;
int
infos
=
libvlc_media_get_tracks_info
(
p_mi
->
p_md
,
&
info
);
if
(
infos
<=
0
)
return
ret
;
for
(
int
i
=
0
;
i
<
infos
;
i
++
)
if
(
info
[
i
].
i_type
==
libvlc_track_video
&&
num
--
==
0
)
{
*
px
=
info
[
i
].
u
.
video
.
i_width
;
*
py
=
info
[
i
].
u
.
video
.
i_height
;
ret
=
0
;
break
;
}
#if 0
vout_thread_t *p_vout = GetVout (p_mi, num);
if (p_vout == NULL)
return -1;
free
(
info
);
return
ret
;
*px = p_vout->i_window_height;
*py = p_vout->i_window_width;
vlc_object_release (p_vout);
return 0;
#else
return
-
1
;
#endif
}
int
libvlc_video_get_height
(
libvlc_media_player_t
*
p_mi
)
...
...
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