Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
422bd79f
Commit
422bd79f
authored
Feb 06, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in period calculation for progressive sequences.
parent
5f6c5900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/video_parser/vpar_headers.c
src/video_parser/vpar_headers.c
+5
-6
No files found.
src/video_parser/vpar_headers.c
View file @
422bd79f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
* vpar_headers.c : headers parsing
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_headers.c,v 1.7
5 2001/01/21 01:36:26
massiot Exp $
* $Id: vpar_headers.c,v 1.7
6 2001/02/06 17:17:04
massiot Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
...
@@ -540,8 +540,7 @@ static void PictureHeader( vpar_thread_t * p_vpar )
...
@@ -540,8 +540,7 @@ static void PictureHeader( vpar_thread_t * p_vpar )
p_vpar
->
picture
.
b_q_scale_type
=
0
;
p_vpar
->
picture
.
b_q_scale_type
=
0
;
p_vpar
->
picture
.
b_intra_vlc_format
=
0
;
p_vpar
->
picture
.
b_intra_vlc_format
=
0
;
p_vpar
->
picture
.
b_alternate_scan
=
0
;
/* zigzag */
p_vpar
->
picture
.
b_alternate_scan
=
0
;
/* zigzag */
p_vpar
->
picture
.
b_repeat_first_field
=
1
;
/* FIXME! this contradicts
p_vpar
->
picture
.
b_repeat_first_field
=
0
;
* ISO/IEC */
p_vpar
->
picture
.
b_progressive
=
1
;
p_vpar
->
picture
.
b_progressive
=
1
;
}
}
...
@@ -597,11 +596,11 @@ static void PictureHeader( vpar_thread_t * p_vpar )
...
@@ -597,11 +596,11 @@ static void PictureHeader( vpar_thread_t * p_vpar )
int
i_repeat_field
;
int
i_repeat_field
;
/* Compute the number of times the frame will be emitted by the
/* Compute the number of times the frame will be emitted by the
* decoder (number of periods). */
* decoder (number of
half-
periods). */
if
(
p_vpar
->
sequence
.
b_progressive
)
if
(
p_vpar
->
sequence
.
b_progressive
)
{
{
i_repeat_field
=
1
+
p_vpar
->
picture
.
b_repeat_first_field
i_repeat_field
=
(
1
+
p_vpar
->
picture
.
b_repeat_first_field
+
p_vpar
->
picture
.
b_top_field_first
;
+
p_vpar
->
picture
.
b_top_field_first
)
*
2
;
}
}
else
else
{
{
...
...
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