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
f93b233d
Commit
f93b233d
authored
Sep 13, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed b_pausable flag in favour of b_subtitle.
parent
4f66b077
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1 addition
and
23 deletions
+1
-23
include/vlc_vout.h
include/vlc_vout.h
+0
-2
modules/codec/cc.c
modules/codec/cc.c
+0
-2
modules/codec/csri.c
modules/codec/csri.c
+0
-1
modules/codec/cvdsub.c
modules/codec/cvdsub.c
+0
-2
modules/codec/dvbsub.c
modules/codec/dvbsub.c
+0
-1
modules/codec/kate.c
modules/codec/kate.c
+0
-2
modules/codec/libass.c
modules/codec/libass.c
+0
-1
modules/codec/spudec/parse.c
modules/codec/spudec/parse.c
+0
-2
modules/codec/subtitles/subsdec.c
modules/codec/subtitles/subsdec.c
+0
-2
modules/codec/subtitles/subsusf.c
modules/codec/subtitles/subsusf.c
+0
-2
modules/codec/svcdsub.c
modules/codec/svcdsub.c
+0
-2
modules/codec/telx.c
modules/codec/telx.c
+0
-1
modules/codec/zvbi.c
modules/codec/zvbi.c
+0
-1
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+1
-2
No files found.
include/vlc_vout.h
View file @
f93b233d
...
...
@@ -344,8 +344,6 @@ struct subpicture_t
bool
b_ephemer
;
/**< If this flag is set to true the subtitle
will be displayed untill the next one appear */
bool
b_fade
;
/**< enable fading */
bool
b_pausable
;
/**< subpicture will be paused if
stream is paused */
/**@}*/
subpicture_region_t
*
p_region
;
/**< region list composing this subtitle */
...
...
modules/codec/cc.c
View file @
f93b233d
...
...
@@ -338,8 +338,6 @@ static subpicture_t *Subtitle( decoder_t *p_dec, char *psz_subtitle, char *psz_h
return
NULL
;
}
p_spu
->
b_pausable
=
true
;
/* Create a new subpicture region */
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
fmt
.
i_chroma
=
VLC_FOURCC
(
'T'
,
'E'
,
'X'
,
'T'
);
...
...
modules/codec/csri.c
View file @
f93b233d
...
...
@@ -210,7 +210,6 @@ static subpicture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_spu
->
i_stop
=
p_block
->
i_pts
+
p_block
->
i_length
;
p_spu
->
b_ephemer
=
false
;
p_spu
->
b_absolute
=
false
;
p_spu
->
b_pausable
=
true
;
//msg_Dbg( p_dec, "BS %lf..%lf", p_spu->i_start * 0.000001, p_spu->i_stop * 0.000001);
p_sys
->
pf_push_packet
(
p_sys
->
p_instance
,
...
...
modules/codec/cvdsub.c
View file @
f93b233d
...
...
@@ -504,8 +504,6 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, block_t *p_data )
p_spu
=
p_dec
->
pf_spu_buffer_new
(
p_dec
);
if
(
!
p_spu
)
return
NULL
;
p_spu
->
b_pausable
=
true
;
p_spu
->
i_x
=
p_sys
->
i_x_start
;
p_spu
->
i_x
=
p_spu
->
i_x
*
3
/
4
;
/* FIXME: use aspect ratio for x? */
p_spu
->
i_y
=
p_sys
->
i_y_start
;
...
...
modules/codec/dvbsub.c
View file @
f93b233d
...
...
@@ -1586,7 +1586,6 @@ static subpicture_t *render( decoder_t *p_dec )
p_spu
->
i_start
=
(
mtime_t
)
p_sys
->
i_pts
;
//p_spu->i_stop = (mtime_t) 0;
p_spu
->
b_ephemer
=
true
;
p_spu
->
b_pausable
=
true
;
//p_spu->b_fade = true;
//p_spu->i_stop = p_spu->i_start + (mtime_t) (i_timeout * 1000000);
...
...
modules/codec/kate.c
View file @
f93b233d
...
...
@@ -584,8 +584,6 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
return
NULL
;
}
p_spu
->
b_pausable
=
true
;
/* these may be 0 for "not specified" */
p_spu
->
i_original_picture_width
=
p_sys
->
ki
.
original_canvas_width
;
p_spu
->
i_original_picture_height
=
p_sys
->
ki
.
original_canvas_height
;
...
...
modules/codec/libass.c
View file @
f93b233d
...
...
@@ -278,7 +278,6 @@ static subpicture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_spu
->
i_stop
=
p_block
->
i_pts
+
p_block
->
i_length
;
p_spu
->
b_ephemer
=
true
;
p_spu
->
b_absolute
=
true
;
p_spu
->
b_pausable
=
true
;
/* ? */
vlc_mutex_lock
(
p_sys
->
p_ass
->
p_lock
);
if
(
p_sys
->
p_track
)
...
...
modules/codec/spudec/parse.c
View file @
f93b233d
...
...
@@ -76,8 +76,6 @@ subpicture_t * ParsePacket( decoder_t *p_dec )
p_spu
=
p_dec
->
pf_spu_buffer_new
(
p_dec
);
if
(
!
p_spu
)
return
NULL
;
p_spu
->
b_pausable
=
true
;
/* Rationale for the "p_spudec->i_rle_size * 4": we are going to
* expand the RLE stuff so that we won't need to read nibbles later
* on. This will speed things up a lot. Plus, we'll only need to do
...
...
modules/codec/subtitles/subsdec.c
View file @
f93b233d
...
...
@@ -407,8 +407,6 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
return
NULL
;
}
p_spu
->
b_pausable
=
true
;
/* Create a new subpicture region */
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
fmt
.
i_chroma
=
VLC_FOURCC
(
'T'
,
'E'
,
'X'
,
'T'
);
...
...
modules/codec/subtitles/subsusf.c
View file @
f93b233d
...
...
@@ -225,8 +225,6 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
return
NULL
;
}
p_spu
->
b_pausable
=
true
;
/* Decode USF strings */
p_spu
->
p_region
=
ParseUSFString
(
p_dec
,
psz_subtitle
,
p_spu
);
...
...
modules/codec/svcdsub.c
View file @
f93b233d
...
...
@@ -473,8 +473,6 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, block_t *p_data )
p_spu
=
p_dec
->
pf_spu_buffer_new
(
p_dec
);
if
(
!
p_spu
)
return
NULL
;
p_spu
->
b_pausable
=
true
;
p_spu
->
i_x
=
p_sys
->
i_x_start
;
p_spu
->
i_y
=
p_sys
->
i_y_start
;
p_spu
->
i_start
=
p_data
->
i_pts
;
...
...
modules/codec/telx.c
View file @
f93b233d
...
...
@@ -725,7 +725,6 @@ 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
=
false
;
p_spu
->
b_pausable
=
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
);
...
...
modules/codec/zvbi.c
View file @
f93b233d
...
...
@@ -502,7 +502,6 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
p_spu
->
i_stop
=
0
;
p_spu
->
b_ephemer
=
true
;
p_spu
->
b_absolute
=
false
;
p_spu
->
b_pausable
=
true
;
if
(
!
b_text
)
{
...
...
src/video_output/vout_subpictures.c
View file @
f93b233d
...
...
@@ -392,7 +392,6 @@ subpicture_t *spu_CreateSubpicture( spu_t *p_spu )
memset
(
p_subpic
,
0
,
sizeof
(
subpicture_t
)
);
p_subpic
->
i_status
=
RESERVED_SUBPICTURE
;
p_subpic
->
b_absolute
=
true
;
p_subpic
->
b_pausable
=
false
;
p_subpic
->
b_fade
=
false
;
p_subpic
->
b_subtitle
=
false
;
p_subpic
->
i_alpha
=
0xFF
;
...
...
@@ -1225,7 +1224,7 @@ subpicture_t *spu_SortSubpictures( spu_t *p_spu, mtime_t display_date,
if
(
display_date
>
p_current
->
i_stop
&&
(
!
p_current
->
b_ephemer
||
p_current
->
i_stop
>
p_current
->
i_start
)
&&
!
(
p_current
->
b_
pausable
&&
b_paused
)
)
!
(
p_current
->
b_
subtitle
&&
b_paused
)
)
/* XXX Assume that subtitle are pausable */
{
/* Too late, destroy the subpic */
spu_DestroySubpicture
(
p_spu
,
&
p_spu
->
p_subpicture
[
i_index
]
);
...
...
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