Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3551ba24
Commit
3551ba24
authored
Oct 02, 2002
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preference option automatic playing of selected files works.
parent
3d5da10e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
plugins/familiar/familiar.c
plugins/familiar/familiar.c
+2
-2
plugins/familiar/familiar_callbacks.c
plugins/familiar/familiar_callbacks.c
+15
-8
No files found.
plugins/familiar/familiar.c
View file @
3551ba24
...
...
@@ -2,7 +2,7 @@
* familiar.c : familiar plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: familiar.c,v 1.8.2.
4 2002/10/02 19:58:45
jpsaman Exp $
* $Id: familiar.c,v 1.8.2.
5 2002/10/02 20:12:02
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -180,7 +180,7 @@ static void Run( intf_thread_t *p_intf )
/* Create some useful widgets that will certainly be used */
// FIXME: magic path
add_pixmap_directory
(
"
share
"
);
add_pixmap_directory
(
"
/usr/share/videolan
"
);
p_intf
->
p_sys
->
p_window
=
create_familiar
();
if
(
p_intf
->
p_sys
->
p_window
==
NULL
)
...
...
plugins/familiar/familiar_callbacks.c
View file @
3551ba24
...
...
@@ -2,7 +2,7 @@
* familiar_callbacks.c : Callbacks for the Familiar Linux Gtk+ plugin.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: familiar_callbacks.c,v 1.6.2.
5 2002/10/02 19:58:45
jpsaman Exp $
* $Id: familiar_callbacks.c,v 1.6.2.
6 2002/10/02 20:12:02
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -108,15 +108,16 @@ static void MediaURLOpenChanged( GtkWidget *widget, gchar *psz_url )
intf_PlaylistAdd
(
p_main
->
p_playlist
,
PLAYLIST_END
,
(
char
*
)
psz_url
);
}
/* end current item, select added item */
if
(
p_input_bank
->
pp_input
[
0
]
!=
NULL
)
{
p_input_bank
->
pp_input
[
0
]
->
b_eof
=
1
;
}
intf_PlaylistJumpto
(
p_main
->
p_playlist
,
i_end
-
1
);
if
(
p_intf
->
p_sys
->
b_autoplayfile
)
{
intf_ErrMsg
(
"autoplay selected"
);
/* end current item, select added item */
if
(
p_input_bank
->
pp_input
[
0
]
!=
NULL
)
{
p_input_bank
->
pp_input
[
0
]
->
b_eof
=
1
;
}
intf_PlaylistJumpto
(
p_main
->
p_playlist
,
i_end
-
1
);
if
(
p_input_bank
->
pp_input
[
0
]
!=
NULL
)
{
input_SetStatus
(
p_input_bank
->
pp_input
[
0
],
INPUT_STATUS_PLAY
);
...
...
@@ -482,9 +483,15 @@ on_cbautoplay_toggled (GtkToggleButton *togglebutton,
intf_thread_t
*
p_intf
=
GtkGetIntf
(
togglebutton
);
if
(
p_intf
->
p_sys
->
b_autoplayfile
==
1
)
{
p_intf
->
p_sys
->
b_autoplayfile
=
0
;
intf_ErrMsg
(
"autoplay not selected"
);
}
else
{
p_intf
->
p_sys
->
b_autoplayfile
=
1
;
intf_ErrMsg
(
"autoplay selected"
);
}
}
...
...
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