Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
00048eb9
Commit
00048eb9
authored
May 27, 2004
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup to prepare CORBA module update
parent
782abd5e
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
789 deletions
+0
-789
modules/control/corba/MediaControl.idl
modules/control/corba/MediaControl.idl
+0
-0
modules/control/corba/client.py
modules/control/corba/client.py
+0
-34
modules/control/corba/launch-vlc-corba
modules/control/corba/launch-vlc-corba
+0
-7
modules/control/corba/pyorbit-1.99.3.patch
modules/control/corba/pyorbit-1.99.3.patch
+0
-48
modules/control/corba/simpleplayer.glade
modules/control/corba/simpleplayer.glade
+0
-402
modules/control/corba/simpleplayer.py
modules/control/corba/simpleplayer.py
+0
-298
No files found.
modules/control/corba/
mediac
ontrol.idl
→
modules/control/corba/
MediaC
ontrol.idl
View file @
00048eb9
File moved
modules/control/corba/client.py
deleted
100644 → 0
View file @
782abd5e
#! /usr/bin/python
# Simple CLI client for the corba module of vlc. Depends on pyorbit.
# Best used with IPython (completion, ...)
import
sys
import
ORBit
,
CORBA
def
quit
():
try
:
mc
.
exit
()
except
:
pass
print
"IDL loading"
ORBit
.
load_typelib
(
"./MediaControl.so"
)
import
VLC
if
len
(
sys
.
argv
)
<
1
:
print
"Usage: %s"
%
sys
.
argv
[
0
]
sys
.
exit
(
1
)
print
"ORB initialization"
orb
=
CORBA
.
ORB_init
()
ior
=
open
(
"/tmp/vlc-ior.ref"
).
readline
()
mc
=
orb
.
string_to_object
(
ior
)
print
"Object mc %s"
%
mc
pos
=
mc
.
get_media_position
(
0
,
0
)
print
"pos = mc.get_media_position (0,0)"
print
pos
modules/control/corba/launch-vlc-corba
deleted
100644 → 0
View file @
782abd5e
#! /bin/sh
# Helper prog
VLCPATH
=
/usr/local/src/vlc
cd
$VLCPATH
${
VLCPATH
}
/vlc
--intf
corba &
exit
0
modules/control/corba/pyorbit-1.99.3.patch
deleted
100644 → 0
View file @
782abd5e
--- pyorbit-1.99.3/src/pycorba-orb.c 2002-11-16 07:51:41.000000000 +0100
+++ pyorbit-1.99.3-modif/src/pycorba-orb.c 2003-01-22 14:43:30.000000000 +0100
@@ -154,6 +154,36 @@
return Py_None;
}
+static PyObject *
+pycorba_orb_work_pending(PyCORBA_ORB *self)
+{
+ CORBA_boolean ret;
+ CORBA_Environment ev;
+ PyObject *py_ret;
+
+ CORBA_exception_init(&ev);
+ ret = CORBA_ORB_work_pending (self->orb, &ev);
+
+ if (pyorbit_check_ex(&ev))
+ return NULL;
+ py_ret = ret ? Py_True : Py_False;
+ Py_INCREF(py_ret);
+ return py_ret;
+}
+
+static PyObject *
+pycorba_orb_perform_work (PyCORBA_ORB *self)
+{
+ CORBA_Environment ev;
+
+ CORBA_exception_init(&ev);
+ CORBA_ORB_perform_work (self->orb, &ev);
+ if (pyorbit_check_ex(&ev))
+ return NULL;
+ Py_INCREF(Py_None);
+ return Py_None;
+}
+
static PyMethodDef pycorba_orb_methods[] = {
{ "object_to_string", (PyCFunction)pycorba_orb_object_to_string, METH_VARARGS },
{ "string_to_object", (PyCFunction)pycorba_orb_string_to_object, METH_VARARGS },
@@ -161,6 +191,8 @@
{ "resolve_initial_references", (PyCFunction)pycorba_orb_resolve_initial_references, METH_VARARGS },
{ "run", (PyCFunction)pycorba_orb_run, METH_NOARGS },
{ "shutdown", (PyCFunction)pycorba_orb_shutdown, METH_VARARGS },
+ { "work_pending", (PyCFunction)pycorba_orb_work_pending, METH_VARARGS },
+ { "perform_work", (PyCFunction)pycorba_orb_perform_work, METH_VARARGS },
{ NULL, NULL, 0 }
};
modules/control/corba/simpleplayer.glade
deleted
100644 → 0
View file @
782abd5e
This diff is collapsed.
Click to expand it.
modules/control/corba/simpleplayer.py
deleted
100644 → 0
View file @
782abd5e
This diff is collapsed.
Click to expand it.
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