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
fc893da8
Commit
fc893da8
authored
Jan 13, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/theora.c: remove the need for theora_packet_iskeyframe().
parent
ed0426dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
configure.ac
configure.ac
+2
-2
modules/codec/theora.c
modules/codec/theora.c
+3
-1
No files found.
configure.ac
View file @
fc893da8
...
...
@@ -2425,7 +2425,7 @@ AC_ARG_ENABLE(theora,
if test "${enable_theora}" = "yes"
then
AC_CHECK_HEADERS(theora/theora.h, [
AC_CHECK_LIB(theora, theora_
packet_iskeyfra
me, [
AC_CHECK_LIB(theora, theora_
granule_ti
me, [
if test "${SYS}" = "mingw32"; then
VLC_ADD_PLUGINS([theora])
else
...
...
@@ -2433,7 +2433,7 @@ then
fi
theora_libs="-ltheora -logg"
VLC_ADD_LDFLAGS([theora],[${theora_libs}]) ],[
AC_MSG_ERROR([libtheora
>= 1.0alpha4
doesn't appear to be installed on your system.
AC_MSG_ERROR([libtheora doesn't appear to be installed on your system.
You also need to check that you have a libogg posterior to the 1.0 release.])],
[-logg])
])
...
...
modules/codec/theora.c
View file @
fc893da8
...
...
@@ -442,7 +442,9 @@ static picture_t *DecodePacket( decoder_t *p_dec, ogg_packet *p_oggpacket )
theora_decode_packetin
(
&
p_sys
->
td
,
p_oggpacket
);
if
(
theora_packet_iskeyframe
(
p_oggpacket
)
==
1
)
/* Check for keyframe */
if
(
!
(
p_oggpacket
->
packet
[
0
]
&
0x80
)
/* data packet */
&&
!
(
p_oggpacket
->
packet
[
0
]
&
0x40
)
/* intra frame */
)
p_sys
->
b_decoded_first_keyframe
=
VLC_TRUE
;
/* If we haven't seen a single keyframe yet, don't let Theora decode
...
...
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