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
a5d19ec4
Commit
a5d19ec4
authored
Jan 17, 2003
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating slider only once a second now.
parent
294ba69a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
ipkg/rules.gpe
ipkg/rules.gpe
+3
-2
modules/gui/familiar/familiar.c
modules/gui/familiar/familiar.c
+11
-5
No files found.
ipkg/rules.gpe
View file @
a5d19ec4
...
...
@@ -53,7 +53,8 @@ config:
--infodir=$${prefix}/share/info \
--host=arm-linux \
--target=arm-linux \
$(shell echo $(CONFIG_FLAGS))
$(shell echo $(CONFIG_FLAGS)) \
LDFLAGS=/usr/local/arm/2.95.3/arm-linux/lib
build:
# This is ugly -- I know
...
...
@@ -85,5 +86,5 @@ install-plugins: install
find ./ -name *.so | xargs cp $1 ${PKGDIR}/usr/lib/vlc/
$(STRIP) ${PKGDIR}/usr/lib/vlc/*.so
.PHONY: build clean install
.PHONY: build clean install
install-plugins
modules/gui/familiar/familiar.c
View file @
a5d19ec4
...
...
@@ -2,7 +2,7 @@
* familiar.c : familiar plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: familiar.c,v 1.2
6 2003/01/12 19:08:09
jpsaman Exp $
* $Id: familiar.c,v 1.2
7 2003/01/17 18:19:11
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -139,7 +139,7 @@ static void Close( vlc_object_t *p_this )
*****************************************************************************/
static
void
Run
(
intf_thread_t
*
p_intf
)
{
#ifndef NEED_GTK_MAIN
#ifndef NEED_GTK_MAIN
/* gtk_init needs to know the command line. We don't care, so we
* give it an empty one */
char
*
p_args
[]
=
{
""
};
...
...
@@ -226,14 +226,20 @@ static void Run( intf_thread_t *p_intf )
/* Sleep to avoid using all CPU - since some interfaces need to
* access keyboard events, a 100ms delay is a good compromise */
gdk_threads_leave
();
msleep
(
INTF_IDLE_SLEEP
);
if
(
p_intf
->
p_libvlc
->
i_cpu
&
CPU_CAPABILITY_FPU
)
msleep
(
INTF_IDLE_SLEEP
);
else
msleep
(
1000
);
gdk_threads_enter
();
}
#else
msg_Dbg
(
p_intf
,
"Manage GTK keyboard events using timeouts"
);
/* Sleep to avoid using all CPU - since some interfaces needs to access
* keyboard events, a 100ms delay is a good compromise */
i_dummy
=
gtk_timeout_add
(
INTF_IDLE_SLEEP
/
1000
,
(
GtkFunction
)
Manage
,
p_intf
);
* keyboard events, a 1000ms delay is a good compromise */
if
(
p_intf
->
p_libvlc
->
i_cpu
&
CPU_CAPABILITY_FPU
)
i_dummy
=
gtk_timeout_add
(
INTF_IDLE_SLEEP
/
1000
,
(
GtkFunction
)
Manage
,
p_intf
);
else
i_dummy
=
gtk_timeout_add
(
1000
,
(
GtkFunction
)
Manage
,
p_intf
);
/* Enter Gtk mode */
gtk_main
();
...
...
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