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
543cd780
Commit
543cd780
authored
Apr 17, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dbus' of git@www.m2x.eu:vlc into dbus
parents
bbb46819
29f6f780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
modules/codec/zvbi.c
modules/codec/zvbi.c
+12
-0
No files found.
modules/codec/zvbi.c
View file @
543cd780
...
...
@@ -102,6 +102,7 @@ vlc_module_end ()
****************************************************************************/
// #define ZVBI_DEBUG
// #define EVENTKEY
//Guessing table for missing "default region triplet"
static
const
int
pi_default_triplet
[]
=
{
...
...
@@ -189,8 +190,11 @@ static int Opaque( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
);
static
int
Position
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
);
#if defined(EVENTKEY)
static
int
EventKey
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
);
#endif
/*****************************************************************************
* Open: probe the decoder and return score
...
...
@@ -268,8 +272,10 @@ static int Open( vlc_object_t *p_this )
p_sys
->
b_text
=
var_CreateGetBool
(
p_dec
,
"vbi-text"
);
// var_AddCallback( p_dec, "vbi-text", Text, p_sys );
#if defined(EVENTKEY)
/* Listen for keys */
var_AddCallback
(
p_dec
->
p_libvlc
,
"key-pressed"
,
EventKey
,
p_dec
);
#endif
es_format_Init
(
&
p_dec
->
fmt_out
,
SPU_ES
,
VLC_FOURCC
(
's'
,
'p'
,
'u'
,
' '
)
);
if
(
p_sys
->
b_text
)
...
...
@@ -290,7 +296,10 @@ static void Close( vlc_object_t *p_this )
var_DelCallback
(
p_dec
,
"vbi-position"
,
Position
,
p_sys
);
var_DelCallback
(
p_dec
,
"vbi-opaque"
,
Opaque
,
p_sys
);
var_DelCallback
(
p_dec
,
"vbi-page"
,
RequestPage
,
p_sys
);
#if defined(EVENTKEY)
var_DelCallback
(
p_dec
->
p_libvlc
,
"key-pressed"
,
EventKey
,
p_dec
);
#endif
vlc_mutex_destroy
(
&
p_sys
->
lock
);
...
...
@@ -662,6 +671,7 @@ static int Position( vlc_object_t *p_this, char const *psz_cmd,
return
VLC_SUCCESS
;
}
#if defined(EVENTKEY)
static
int
EventKey
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
...
...
@@ -716,3 +726,5 @@ static int EventKey( vlc_object_t *p_this, char const *psz_cmd,
return
VLC_SUCCESS
;
}
#endif
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