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
b6b1e9ee
Commit
b6b1e9ee
authored
Dec 09, 2003
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed a compatibility problem with the CVS version of wxwindows
* added a lock when changing p_vout->p_last_osd_message
parent
51e2e19d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
include/video_output.h
include/video_output.h
+2
-2
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+2
-2
src/video_output/video_text.c
src/video_output/video_text.c
+10
-5
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+3
-3
No files found.
include/video_output.h
View file @
b6b1e9ee
...
...
@@ -2,7 +2,7 @@
* video_output.h : video output thread
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: video_output.h,v 1.10
5 2003/12/08 17:48:1
3 yoann Exp $
* $Id: video_output.h,v 1.10
6 2003/12/09 19:15:0
3 yoann Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
...
...
@@ -122,7 +122,7 @@ struct vout_thread_t
picture_t
p_picture
[
2
*
VOUT_MAX_PICTURES
];
/**< pictures */
subpicture_t
p_subpicture
[
VOUT_MAX_PICTURES
];
/**< subpictures */
subpicture_t
*
last_osd_message
;
subpicture_t
*
p_
last_osd_message
;
/* Statistics */
count_t
c_loops
;
...
...
modules/gui/wxwindows/open.cpp
View file @
b6b1e9ee
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: open.cpp,v 1.4
6 2003/12/09 00:46
:03 yoann Exp $
* $Id: open.cpp,v 1.4
7 2003/12/09 19:15
:03 yoann Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -955,7 +955,7 @@ void OpenDialog::OnDiscDeviceChange( wxCommandEvent& event )
break
;
}
if
(
strcmp
(
psz_device
,
disc_device
->
GetValue
().
c_str
(
)
)
)
if
(
disc_device
->
GetValue
().
Cmp
(
wxU
(
psz_device
)
)
)
{
b_disc_device_changed
=
true
;
}
...
...
src/video_output/video_text.c
View file @
b6b1e9ee
...
...
@@ -2,7 +2,7 @@
* video_text.c : text manipulation functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: video_text.c,v 1.4
7 2003/12/08 17:48:1
3 yoann Exp $
* $Id: video_text.c,v 1.4
8 2003/12/09 19:15:0
3 yoann Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
...
...
@@ -100,13 +100,18 @@ void vout_OSDMessage( vlc_object_t *p_caller, char *psz_string )
if
(
p_vout
)
{
if
(
p_vout
->
last_osd_message
)
vlc_mutex_lock
(
&
p_vout
->
change_lock
);
if
(
p_vout
->
p_last_osd_message
)
{
vout_DestroySubPicture
(
p_vout
,
p_vout
->
last_osd_message
);
p_vout
->
last_osd_message
=
NULL
;
vout_DestroySubPicture
(
p_vout
,
p_vout
->
p_last_osd_message
);
}
p_vout
->
last_osd_message
=
vout_ShowTextRelative
(
p_vout
,
psz_string
,
p_vout
->
p_last_osd_message
=
vout_ShowTextRelative
(
p_vout
,
psz_string
,
NULL
,
OSD_ALIGN_TOP
|
OSD_ALIGN_RIGHT
,
30
,
20
,
1000000
);
vlc_mutex_unlock
(
&
p_vout
->
change_lock
);
vlc_object_release
(
p_vout
);
}
}
...
...
src/video_output/vout_subpictures.c
View file @
b6b1e9ee
...
...
@@ -2,7 +2,7 @@
* vout_subpictures.c : subpicture management functions
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: vout_subpictures.c,v 1.2
2 2003/12/08 17:48:1
3 yoann Exp $
* $Id: vout_subpictures.c,v 1.2
3 2003/12/09 19:15:0
3 yoann Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -163,9 +163,9 @@ void vout_DestroySubPicture( vout_thread_t *p_vout, subpicture_t *p_subpic )
p_subpic
->
pf_destroy
(
p_subpic
);
}
if
(
p_subpic
==
p_vout
->
last_osd_message
)
if
(
p_subpic
==
p_vout
->
p_
last_osd_message
)
{
p_vout
->
last_osd_message
=
NULL
;
p_vout
->
p_
last_osd_message
=
NULL
;
}
p_subpic
->
i_status
=
FREE_SUBPICTURE
;
...
...
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