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
57c5eaa3
Commit
57c5eaa3
authored
May 20, 2004
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc < 3 fix
parent
ec4d5637
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/codec/cmml/intf.c
modules/codec/cmml/intf.c
+4
-4
No files found.
modules/codec/cmml/intf.c
View file @
57c5eaa3
...
@@ -412,6 +412,8 @@ static void FollowAnchor ( intf_thread_t *p_intf )
...
@@ -412,6 +412,8 @@ static void FollowAnchor ( intf_thread_t *p_intf )
playlist_t
*
p_playlist
;
playlist_t
*
p_playlist
;
playlist_item_t
*
p_current_item
;
playlist_item_t
*
p_current_item
;
char
*
psz_uri_to_load
;
char
*
psz_uri_to_load
;
mtime_t
i_seconds
;
vlc_value_t
time
;
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
...
@@ -435,8 +437,6 @@ static void FollowAnchor ( intf_thread_t *p_intf )
...
@@ -435,8 +437,6 @@ static void FollowAnchor ( intf_thread_t *p_intf )
msg_Dbg
(
p_intf
,
"URL to load is
\"
%s
\"
"
,
psz_uri_to_load
);
msg_Dbg
(
p_intf
,
"URL to load is
\"
%s
\"
"
,
psz_uri_to_load
);
#endif
#endif
mtime_t
i_seconds
;
vlc_value_t
time
;
if
(
var_Get
(
p_intf
->
p_sys
->
p_input
,
"time"
,
&
time
)
)
if
(
var_Get
(
p_intf
->
p_sys
->
p_input
,
"time"
,
&
time
)
)
{
{
msg_Dbg
(
p_intf
,
"couldn't get time from current clip"
);
msg_Dbg
(
p_intf
,
"couldn't get time from current clip"
);
...
@@ -579,6 +579,7 @@ void GoBack( intf_thread_t *p_intf )
...
@@ -579,6 +579,7 @@ void GoBack( intf_thread_t *p_intf )
history_item_t
*
p_new_history_item
=
NULL
;
history_item_t
*
p_new_history_item
=
NULL
;
playlist_t
*
p_playlist
=
NULL
;
playlist_t
*
p_playlist
=
NULL
;
char
*
psz_timed_url
=
NULL
;
char
*
psz_timed_url
=
NULL
;
playlist_item_t
*
p_current_item
;
#ifdef CMML_INTF_DEBUG
#ifdef CMML_INTF_DEBUG
msg_Dbg
(
p_intf
,
"Going back in navigation history"
);
msg_Dbg
(
p_intf
,
"Going back in navigation history"
);
...
@@ -618,7 +619,6 @@ void GoBack( intf_thread_t *p_intf )
...
@@ -618,7 +619,6 @@ void GoBack( intf_thread_t *p_intf )
return
;
return
;
}
}
playlist_item_t
*
p_current_item
;
p_current_item
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
p_current_item
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
/* Save the currently-playing media in a new history item */
/* Save the currently-playing media in a new history item */
...
@@ -657,6 +657,7 @@ void GoForward( intf_thread_t *p_intf )
...
@@ -657,6 +657,7 @@ void GoForward( intf_thread_t *p_intf )
history_item_t
*
p_history_item
=
NULL
;
history_item_t
*
p_history_item
=
NULL
;
history_item_t
*
p_new_history_item
=
NULL
;
history_item_t
*
p_new_history_item
=
NULL
;
playlist_t
*
p_playlist
=
NULL
;
playlist_t
*
p_playlist
=
NULL
;
playlist_item_t
*
p_current_item
;
#ifdef CMML_INTF_DEBUG
#ifdef CMML_INTF_DEBUG
msg_Dbg
(
p_intf
,
"Going forward in navigation history"
);
msg_Dbg
(
p_intf
,
"Going forward in navigation history"
);
...
@@ -706,7 +707,6 @@ void GoForward( intf_thread_t *p_intf )
...
@@ -706,7 +707,6 @@ void GoForward( intf_thread_t *p_intf )
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
return
;
return
;
}
}
playlist_item_t
*
p_current_item
;
p_current_item
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
p_current_item
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
p_new_history_item
->
psz_uri
=
GetTimedURLFromPlaylistItem
(
p_intf
,
p_new_history_item
->
psz_uri
=
GetTimedURLFromPlaylistItem
(
p_intf
,
p_current_item
);
p_current_item
);
...
...
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