Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
798e9790
Commit
798e9790
authored
Nov 28, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ffmpeg: arg, fix a previous fix for non-latest ffmpeg cvs tree.
parent
474126cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+5
-2
No files found.
modules/codec/ffmpeg/video.c
View file @
798e9790
...
...
@@ -2,7 +2,7 @@
* video.c: video decoder using ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: video.c,v 1.
6 2002/11/27 12:41:4
5 fenrir Exp $
* $Id: video.c,v 1.
7 2002/11/28 16:44:0
5 fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -160,17 +160,20 @@ static vout_thread_t *ffmpeg_CreateVout( vdec_thread_t *p_vdec,
}
#else
switch
(
i_aspect
)
switch
(
p_vdec
->
p_context
->
aspect_ratio_info
)
{
case
(
FF_ASPECT_4_3_625
):
case
(
FF_ASPECT_4_3_525
):
i_aspect
=
VOUT_ASPECT_FACTOR
*
4
/
3
;
break
;
case
(
FF_ASPECT_16_9_625
):
case
(
FF_ASPECT_16_9_525
):
i_aspect
=
VOUT_ASPECT_FACTOR
*
16
/
9
;
break
;
case
(
FF_ASPECT_SQUARE
):
default:
i_aspect
=
VOUT_ASPECT_FACTOR
*
i_width
/
i_height
;
break
;
}
#endif
/* Spawn a video output if there is none. First we look for our children,
...
...
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