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
e9254221
Commit
e9254221
authored
Jan 18, 2007
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Set svn properties for the telx.c file
parent
bfaff596
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
23 deletions
+1
-23
modules/codec/telx.c
modules/codec/telx.c
+1
-23
No files found.
modules/codec/telx.c
View file @
e9254221
...
...
@@ -24,36 +24,16 @@
* information on teletext format can be found here :
* http://pdc.ro.nu/teletext.html
*
* TODO :
*
*****************************************************************************/
#include <vlc/vlc.h>
#include <assert.h>
#include <stdint.h>
/* This is an ugly test so that this source compile for both 0.8.6 and current
* trunk version. Considere this hack to be temporary, but I need it so that
* I can maintain my patch for both current svn and 0.8.6 in an easy way. */
#ifdef VLC_ENOITEM
/* svn trunk */
#include "vlc_vout.h"
#else
/* 0.8.6 */
#include <vlc/vout.h>
#include <vlc/decoder.h>
#include <vlc/sout.h>
/* #include "vlc_es.h" */
/* #include "vlc_block.h" */
/* #include "vlc_video.h" */
/* #include "vlc_spu.h" */
#endif
#include "vlc_bits.h"
#include "vlc_codec.h"
/* #define TELX_DEBUG */
#ifdef TELX_DEBUG
# define dbg( a ) msg_Dbg a
#else
...
...
@@ -84,7 +64,6 @@ static subpicture_t *Decode( decoder_t *, block_t ** );
#define IGNORE_SUB_FLAG_LONGTEXT N_("Ignore the subtitle flag, try this if your subtitles don't appear.")
vlc_module_begin
();
# define TELX_CFG_PREFIX "telx-"
set_description
(
_
(
"Teletext subtitles decoder"
)
);
set_shortname
(
"Teletext"
);
set_capability
(
"decoder"
,
50
);
...
...
@@ -698,8 +677,6 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
goto
error
;
}
p_spu
->
b_pausable
=
VLC_TRUE
;
/* Create a new subpicture region */
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
fmt
.
i_chroma
=
VLC_FOURCC
(
'T'
,
'E'
,
'X'
,
'T'
);
...
...
@@ -723,6 +700,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
p_spu
->
i_stop
=
p_block
->
i_pts
+
p_block
->
i_length
;
p_spu
->
b_ephemer
=
(
p_block
->
i_length
==
0
);
p_spu
->
b_absolute
=
VLC_FALSE
;
p_spu
->
b_pausable
=
VLC_TRUE
;
dbg
((
p_dec
,
"%ld --> %ld
\n
"
,
(
long
int
)
p_block
->
i_pts
/
100000
,
(
long
int
)
p_block
->
i_length
/
100000
));
block_Release
(
p_block
);
...
...
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