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
c48d981f
Commit
c48d981f
authored
Aug 24, 2000
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
. support pour --synchro I+ (images I et la premi�re P)
parent
6b890a3e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
10 deletions
+33
-10
ChangeLog
ChangeLog
+2
-1
include/vpar_synchro.h
include/vpar_synchro.h
+5
-4
src/interface/main.c
src/interface/main.c
+1
-1
src/video_parser/video_parser.c
src/video_parser/video_parser.c
+5
-1
src/video_parser/vpar_synchro.c
src/video_parser/vpar_synchro.c
+20
-3
No files found.
ChangeLog
View file @
c48d981f
O.1.99i :
* fixed the support for
the
field pictures, which involved a few dozens
* fixed the support for field pictures, which involved a few dozens
bugs in the video parser and video decoder.
* put names of authors under a lot of source files, for historical
purposes.
* fixed another input_file exit bug for the beos version.
* fixed the aliases install.
* renamed an inconsistent varaible in src/input/input_file.c.
* added support for I+ synchro (all Is and the first P).
Tue, 22 Aug 2000 01:31:58 +0200
0.1.99h :
...
...
include/vpar_synchro.h
View file @
c48d981f
...
...
@@ -75,7 +75,7 @@ typedef struct video_synchro_s
int
displayable_p
;
boolean_t
b_all_B
;
int
displayable_b
;
boolean_t
b_dropped_last
_B
;
boolean_t
b_dropped_last
;
}
video_synchro_t
;
...
...
@@ -84,9 +84,10 @@ typedef struct video_synchro_s
#define VPAR_SYNCHRO_DEFAULT 0
#define VPAR_SYNCHRO_I 1
#define VPAR_SYNCHRO_IP 2
#define VPAR_SYNCHRO_IPplus 3
#define VPAR_SYNCHRO_IPB 4
#define VPAR_SYNCHRO_Iplus 2
#define VPAR_SYNCHRO_IP 3
#define VPAR_SYNCHRO_IPplus 4
#define VPAR_SYNCHRO_IPB 5
#endif
...
...
src/interface/main.c
View file @
c48d981f
...
...
@@ -657,7 +657,7 @@ static void Usage( int i_fashion )
/* Synchro parameters */
intf_Msg
(
"
\n
"
"Synchro parameters:
\n
"
" "
VPAR_SYNCHRO_VAR
"={I|I
P|IP+|IPB}
\t
synchro algorithm
\n
"
);
" "
VPAR_SYNCHRO_VAR
"={I|I
+|IP|IP+|IPB}
\t
synchro algorithm
\n
"
);
}
/*****************************************************************************
...
...
src/video_parser/video_parser.c
View file @
c48d981f
...
...
@@ -301,7 +301,7 @@ static int InitThread( vpar_thread_t *p_vpar )
p_vpar
->
synchro
.
displayable_p
=
2
<<
10
;
p_vpar
->
synchro
.
b_all_B
=
0
;
p_vpar
->
synchro
.
displayable_b
=
0
;
p_vpar
->
synchro
.
b_dropped_last
_B
=
0
;
p_vpar
->
synchro
.
b_dropped_last
=
0
;
/* assume there were about 3 P and 6 B images between I's */
p_vpar
->
synchro
.
i_P_seen
=
p_vpar
->
synchro
.
i_P_kept
=
1
<<
10
;
p_vpar
->
synchro
.
i_B_seen
=
p_vpar
->
synchro
.
i_B_kept
=
1
<<
10
;
...
...
@@ -500,6 +500,10 @@ static int SynchroType( )
case
'\0'
:
return
VPAR_SYNCHRO_I
;
case
'+'
:
if
(
*
psz_synchro
)
return
0
;
return
VPAR_SYNCHRO_Iplus
;
case
'p'
:
case
'P'
:
switch
(
*
psz_synchro
++
)
...
...
src/video_parser/vpar_synchro.c
View file @
c48d981f
...
...
@@ -215,6 +215,10 @@ boolean_t vpar_SynchroChoose( vpar_thread_t * p_vpar, int i_coding_type,
if
(
p_vpar
->
synchro
.
i_type
!=
VPAR_SYNCHRO_DEFAULT
)
{
/* I, IP, IP+, IPB */
if
(
p_vpar
->
synchro
.
i_type
==
VPAR_SYNCHRO_Iplus
)
{
p_vpar
->
synchro
.
b_dropped_last
=
1
;
}
return
(
1
);
}
...
...
@@ -227,6 +231,19 @@ boolean_t vpar_SynchroChoose( vpar_thread_t * p_vpar, int i_coding_type,
return
(
0
);
}
if
(
p_vpar
->
synchro
.
i_type
==
VPAR_SYNCHRO_Iplus
)
/* I+ */
{
if
(
p_vpar
->
synchro
.
b_dropped_last
)
{
p_vpar
->
synchro
.
b_dropped_last
=
0
;
return
(
1
);
}
else
{
return
(
0
);
}
}
if
(
p_vpar
->
synchro
.
i_type
>=
VPAR_SYNCHRO_IP
)
/* IP, IP+, IPB */
{
return
(
1
);
...
...
@@ -260,13 +277,13 @@ boolean_t vpar_SynchroChoose( vpar_thread_t * p_vpar, int i_coding_type,
return
(
1
);
}
if
(
p_vpar
->
synchro
.
b_dropped_last
_B
)
/* IP+ */
if
(
p_vpar
->
synchro
.
b_dropped_last
)
/* IP+ */
{
p_vpar
->
synchro
.
b_dropped_last
_B
=
0
;
p_vpar
->
synchro
.
b_dropped_last
=
0
;
return
(
1
);
}
p_vpar
->
synchro
.
b_dropped_last
_B
=
1
;
p_vpar
->
synchro
.
b_dropped_last
=
1
;
return
(
0
);
}
...
...
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