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
95179314
Commit
95179314
authored
May 28, 2002
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*Added a b_force flag to picture_t so that we can force the display
of an image even if it is late.
parent
a944ebff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
include/video.h
include/video.h
+2
-1
plugins/mpeg_vdec/vpar_headers.c
plugins/mpeg_vdec/vpar_headers.c
+2
-1
src/video_output/video_output.c
src/video_output/video_output.c
+3
-2
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+3
-1
No files found.
include/video.h
View file @
95179314
...
...
@@ -4,7 +4,7 @@
* includes all common video types and constants.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: video.h,v 1.5
1 2002/05/13 21:55:30 fenrir
Exp $
* $Id: video.h,v 1.5
2 2002/05/28 18:34:42 stef
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
...
...
@@ -73,6 +73,7 @@ typedef struct picture_s
* the video output thread API, but should never be written directly */
int
i_refcount
;
/* link reference counter */
mtime_t
date
;
/* display date */
boolean_t
b_force
;
/* Picture dynamic properties - those properties can be changed by the
* decoder */
...
...
plugins/mpeg_vdec/vpar_headers.c
View file @
95179314
...
...
@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: vpar_headers.c,v 1.2
0 2002/05/18 17:47:47 sam
Exp $
* $Id: vpar_headers.c,v 1.2
1 2002/05/28 18:34:42 stef
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -279,6 +279,7 @@ int vpar_ParseHeader( vpar_thread_t * p_vpar )
case
SEQUENCE_END_CODE
:
intf_WarnMsg
(
3
,
"vpar warning: sequence end code received"
);
p_vpar
->
sequence
.
p_backward
->
b_force
=
1
;
ReferenceUpdate
(
p_vpar
,
I_CODING_TYPE
,
NULL
);
return
1
;
...
...
src/video_output/video_output.c
View file @
95179314
...
...
@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: video_output.c,v 1.17
8 2002/05/23 22:21:14 sam
Exp $
* $Id: video_output.c,v 1.17
9 2002/05/28 18:34:42 stef
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
...
...
@@ -549,7 +549,8 @@ static void RunThread( vout_thread_t *p_vout)
p_vout
->
p_fps_sample
[
p_vout
->
c_fps_samples
++
%
VOUT_FPS_SAMPLES
]
=
display_date
;
if
(
display_date
<
current_date
+
p_vout
->
render_time
)
if
(
!
p_picture
->
b_force
&&
display_date
<
current_date
+
p_vout
->
render_time
)
{
/* Picture is late: it will be destroyed and the thread
* will directly choose the next picture */
...
...
src/video_output/vout_pictures.c
View file @
95179314
...
...
@@ -2,7 +2,7 @@
* vout_pictures.c : picture management functions
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: vout_pictures.c,v 1.2
5 2002/05/20 19:34:58 sam
Exp $
* $Id: vout_pictures.c,v 1.2
6 2002/05/28 18:34:42 stef
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -142,6 +142,7 @@ picture_t *vout_CreatePicture( vout_thread_t *p_vout,
* memory allocation needs to be done */
p_pic
->
i_status
=
RESERVED_PICTURE
;
p_pic
->
i_refcount
=
0
;
p_pic
->
b_force
=
0
;
p_pic
->
b_progressive
=
b_progressive
;
p_pic
->
b_repeat_first_field
=
b_repeat_first_field
;
...
...
@@ -177,6 +178,7 @@ picture_t *vout_CreatePicture( vout_thread_t *p_vout,
p_freepic
->
i_type
=
MEMORY_PICTURE
;
p_freepic
->
i_refcount
=
0
;
p_freepic
->
b_force
=
0
;
p_freepic
->
b_progressive
=
b_progressive
;
p_freepic
->
b_repeat_first_field
=
b_repeat_first_field
;
...
...
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