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
0aa09ae1
Commit
0aa09ae1
authored
Mar 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmml: use pl_Release.
parent
0d1293c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/codec/cmml/intf.c
modules/codec/cmml/intf.c
+9
-9
No files found.
modules/codec/cmml/intf.c
View file @
0aa09ae1
...
@@ -501,7 +501,7 @@ static void FollowAnchor ( intf_thread_t *p_intf )
...
@@ -501,7 +501,7 @@ static void FollowAnchor ( intf_thread_t *p_intf )
free
(
psz_uri_to_load
);
free
(
psz_uri_to_load
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
}
}
}
}
...
@@ -631,7 +631,7 @@ void GoBack( intf_thread_t *p_intf )
...
@@ -631,7 +631,7 @@ void GoBack( intf_thread_t *p_intf )
{
{
/* History doesn't exist yet: ignore user's request */
/* History doesn't exist yet: ignore user's request */
msg_Warn
(
p_intf
,
"can't go back: no history exists yet"
);
msg_Warn
(
p_intf
,
"can't go back: no history exists yet"
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
...
@@ -646,7 +646,7 @@ void GoBack( intf_thread_t *p_intf )
...
@@ -646,7 +646,7 @@ void GoBack( intf_thread_t *p_intf )
if
(
history_CanGoBack
(
p_history
)
==
false
)
if
(
history_CanGoBack
(
p_history
)
==
false
)
{
{
msg_Warn
(
p_intf
,
"can't go back: already at beginning of history"
);
msg_Warn
(
p_intf
,
"can't go back: already at beginning of history"
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
...
@@ -662,7 +662,7 @@ void GoBack( intf_thread_t *p_intf )
...
@@ -662,7 +662,7 @@ void GoBack( intf_thread_t *p_intf )
#ifdef CMML_INTF_DEBUG
#ifdef CMML_INTF_DEBUG
msg_Dbg
(
p_intf
,
"back: could not initialise new history item"
);
msg_Dbg
(
p_intf
,
"back: could not initialise new history item"
);
#endif
#endif
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
...
@@ -677,7 +677,7 @@ void GoBack( intf_thread_t *p_intf )
...
@@ -677,7 +677,7 @@ void GoBack( intf_thread_t *p_intf )
#endif
#endif
ReplacePlaylistItem
(
p_playlist
,
p_history_item
->
psz_uri
);
ReplacePlaylistItem
(
p_playlist
,
p_history_item
->
psz_uri
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
}
}
static
static
...
@@ -703,7 +703,7 @@ void GoForward( intf_thread_t *p_intf )
...
@@ -703,7 +703,7 @@ void GoForward( intf_thread_t *p_intf )
{
{
/* History doesn't exist yet: ignore user's request */
/* History doesn't exist yet: ignore user's request */
msg_Warn
(
p_intf
,
"can't go back: no history exists yet"
);
msg_Warn
(
p_intf
,
"can't go back: no history exists yet"
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
...
@@ -718,7 +718,7 @@ void GoForward( intf_thread_t *p_intf )
...
@@ -718,7 +718,7 @@ void GoForward( intf_thread_t *p_intf )
if
(
history_CanGoForward
(
p_history
)
==
false
)
if
(
history_CanGoForward
(
p_history
)
==
false
)
{
{
msg_Warn
(
p_intf
,
"can't go forward: already at end of history"
);
msg_Warn
(
p_intf
,
"can't go forward: already at end of history"
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
...
@@ -729,7 +729,7 @@ void GoForward( intf_thread_t *p_intf )
...
@@ -729,7 +729,7 @@ void GoForward( intf_thread_t *p_intf )
#ifdef CMML_INTF_DEBUG
#ifdef CMML_INTF_DEBUG
msg_Dbg
(
p_intf
,
"forward: could not initialise new history item"
);
msg_Dbg
(
p_intf
,
"forward: could not initialise new history item"
);
#endif
#endif
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
p_current_item
=
playlist_CurrentPlayingItem
(
p_playlist
);
p_current_item
=
playlist_CurrentPlayingItem
(
p_playlist
);
...
@@ -748,7 +748,7 @@ void GoForward( intf_thread_t *p_intf )
...
@@ -748,7 +748,7 @@ void GoForward( intf_thread_t *p_intf )
#endif
#endif
ReplacePlaylistItem
(
p_playlist
,
p_history_item
->
psz_uri
);
ReplacePlaylistItem
(
p_playlist
,
p_history_item
->
psz_uri
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
}
}
static
void
ReplacePlaylistItem
(
playlist_t
*
p_playlist
,
char
*
psz_uri
)
static
void
ReplacePlaylistItem
(
playlist_t
*
p_playlist
,
char
*
psz_uri
)
...
...
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