Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
84aadd40
Commit
84aadd40
authored
Sep 19, 2009
by
Marian Ďurkovič
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libmpeg2: Don't spam the log on bitrate changes in VBR streams
parent
01da2be7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/codec/libmpeg2.c
modules/codec/libmpeg2.c
+5
-0
No files found.
modules/codec/libmpeg2.c
View file @
84aadd40
...
...
@@ -172,6 +172,7 @@ static int OpenDecoder( vlc_object_t *p_this )
p_sys
->
i_previous_pts
=
0
;
p_sys
->
i_current_dts
=
0
;
p_sys
->
i_previous_dts
=
0
;
p_sys
->
i_aspect
=
0
;
p_sys
->
b_garbage_pic
=
false
;
p_sys
->
b_slice_i
=
false
;
p_sys
->
b_second_field
=
false
;
...
...
@@ -711,6 +712,7 @@ static block_t *GetCc( decoder_t *p_dec, bool pb_present[4] )
static
void
GetAR
(
decoder_t
*
p_dec
)
{
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
int
i_old_aspect
=
p_sys
->
i_aspect
;
/* Check whether the input gave a particular aspect ratio */
if
(
p_dec
->
fmt_in
.
video
.
i_aspect
)
...
...
@@ -742,6 +744,9 @@ static void GetAR( decoder_t *p_dec )
}
}
if
(
p_sys
->
i_aspect
==
i_old_aspect
)
return
;
if
(
p_sys
->
p_info
->
sequence
->
frame_period
>
0
)
msg_Dbg
(
p_dec
,
"%dx%d (display %d,%d), aspect %d, sar %i:%i, %u.%03u fps"
,
...
...
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