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
7f66cfca
Commit
7f66cfca
authored
Apr 12, 2001
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-added a field to p_input->stream to inform the interface of a stream
change (useful in network mode)
parent
7fecb798
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
include/input_ext-intf.h
include/input_ext-intf.h
+3
-1
plugins/gnome/intf_gnome.c
plugins/gnome/intf_gnome.c
+8
-1
src/input/input_programs.c
src/input/input_programs.c
+2
-1
src/input/mpeg_system.c
src/input/mpeg_system.c
+3
-1
No files found.
include/input_ext-intf.h
View file @
7f66cfca
...
...
@@ -4,7 +4,7 @@
* control the pace of reading.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_ext-intf.h,v 1.3
1 2001/04/10 17:47:05
stef Exp $
* $Id: input_ext-intf.h,v 1.3
2 2001/04/12 03:26:53
stef Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -181,6 +181,8 @@ typedef struct input_area_s
typedef
struct
stream_descriptor_s
{
u16
i_stream_id
;
/* stream id */
boolean_t
b_changed
;
/* if stream has been changed,
we have to inform the interface */
vlc_mutex_t
stream_lock
;
/* to be taken every time you read
* or modify stream, pgrm or es */
...
...
plugins/gnome/intf_gnome.c
View file @
7f66cfca
...
...
@@ -2,7 +2,7 @@
* intf_gnome.c: Gnome interface
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: intf_gnome.c,v 1.2
7 2001/04/11 12:52:09 sam
Exp $
* $Id: intf_gnome.c,v 1.2
8 2001/04/12 03:26:53 stef
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -351,6 +351,13 @@ static gint GnomeManage( gpointer p_data )
char
psz_title
[
3
];
char
psz_chapter
[
3
];
if
(
p_intf
->
p_input
->
stream
.
b_changed
)
{
p_intf
->
p_sys
->
b_menus_update
=
1
;
p_intf
->
p_input
->
stream
.
b_changed
=
0
;
fprintf
(
stderr
,
"########changed interface##########
\n
"
);
}
#define p_area p_intf->p_input->stream.p_selected_area
/* Update language/chapter menus after user request */
if
(
(
p_intf
->
p_sys
->
b_menus_update
)
||
...
...
src/input/input_programs.c
View file @
7f66cfca
...
...
@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_programs.c,v 1.4
7 2001/04/12 02:40:09
stef Exp $
* $Id: input_programs.c,v 1.4
8 2001/04/12 03:26:53
stef Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -55,6 +55,7 @@
int
input_InitStream
(
input_thread_t
*
p_input
,
size_t
i_data_len
)
{
p_input
->
stream
.
i_stream_id
=
0
;
p_input
->
stream
.
b_changed
=
0
;
p_input
->
stream
.
pp_es
=
NULL
;
p_input
->
stream
.
pp_selected_es
=
NULL
;
p_input
->
stream
.
pp_programs
=
NULL
;
...
...
src/input/mpeg_system.c
View file @
7f66cfca
...
...
@@ -2,7 +2,7 @@
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: mpeg_system.c,v 1.4
8 2001/04/08 07:24:47
stef Exp $
* $Id: mpeg_system.c,v 1.4
9 2001/04/12 03:26:53
stef Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
...
...
@@ -1445,6 +1445,8 @@ static void input_DecodePMT( input_thread_t * p_input, es_descriptor_t * p_es )
p_pgrm_data
->
i_pmt_version
=
p_psi
->
i_version_number
;
/* inform interface that stream has changed */
p_input
->
stream
.
b_changed
=
1
;
}
#undef p_psi
...
...
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