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
a3412c81
Commit
a3412c81
authored
Aug 20, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/gui/qnx/*: ported the QNX audio output to the new API, courtesy
of Pascal Levesque.
parent
aeaf6737
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
67 deletions
+160
-67
AUTHORS
AUTHORS
+1
-1
modules/gui/qnx/aout.c
modules/gui/qnx/aout.c
+157
-54
modules/gui/qnx/vout.c
modules/gui/qnx/vout.c
+2
-12
No files found.
AUTHORS
View file @
a3412c81
...
@@ -276,7 +276,7 @@ S: USA, California
...
@@ -276,7 +276,7 @@ S: USA, California
N: Pascal Levesque
N: Pascal Levesque
E: pascal.levesque@mindready.com
E: pascal.levesque@mindready.com
D: QNX RTOS video output
D: QNX RTOS video output
and audio output
S: Canada, Qubec
S: Canada, Qubec
N: Arkadiusz Lipiec
N: Arkadiusz Lipiec
...
...
modules/gui/qnx/aout.c
View file @
a3412c81
This diff is collapsed.
Click to expand it.
modules/gui/qnx/vout.c
View file @
a3412c81
...
@@ -129,7 +129,7 @@ static void SetPalette ( vout_thread_t *, u16 *, u16 *, u16 * );
...
@@ -129,7 +129,7 @@ static void SetPalette ( vout_thread_t *, u16 *, u16 *, u16 * );
* actual properties of the display.
* actual properties of the display.
*****************************************************************************/
*****************************************************************************/
int
E_
(
OpenVideo
)
(
vlc_object_t
*
p_this
)
int
E_
(
OpenVideo
)
(
vlc_object_t
*
p_this
)
{
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
/* init connection to photon */
/* init connection to photon */
...
@@ -277,7 +277,7 @@ static void QNXEnd( vout_thread_t *p_vout )
...
@@ -277,7 +277,7 @@ static void QNXEnd( vout_thread_t *p_vout )
* Terminate an output method created by QNXCreate
* Terminate an output method created by QNXCreate
*****************************************************************************/
*****************************************************************************/
void
E_
(
CloseVideo
)
(
vlc_object_t
*
p_this
)
void
E_
(
CloseVideo
)
(
vlc_object_t
*
p_this
)
{
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
/* destroy the window */
/* destroy the window */
...
@@ -541,16 +541,6 @@ static int QNXInitDisplay( vout_thread_t * p_vout )
...
@@ -541,16 +541,6 @@ static int QNXInitDisplay( vout_thread_t * p_vout )
return
(
1
);
return
(
1
);
}
}
/* switch to normal mode if no overlay support */
// printf("minfo.mode_capabilities1: 0x%x\n", minfo.mode_capabilities1);
if
(
p_vout
->
p_sys
->
i_mode
==
MODE_VIDEO_OVERLAY
&&
!
(
minfo
.
mode_capabilities1
&
PgVM_MODE_CAP1_VIDEO_OVERLAY
)
)
{
msg_Err
(
p_vout
,
"no overlay support detected"
);
p_vout
->
p_sys
->
i_mode
=
MODE_NORMAL_MEM
;
}
if
(
p_vout
->
p_sys
->
i_mode
==
MODE_VIDEO_OVERLAY
)
if
(
p_vout
->
p_sys
->
i_mode
==
MODE_VIDEO_OVERLAY
)
{
{
int
i
=
0
;
int
i
=
0
;
...
...
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