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
5183d34d
Commit
5183d34d
authored
Jul 09, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dejidjei:
parent
95c51011
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
3 deletions
+16
-3
README
README
+1
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+3
-1
src/input/input.c
src/input/input.c
+2
-0
src/libvlc.c
src/libvlc.c
+8
-1
src/playlist/engine.c
src/playlist/engine.c
+1
-0
src/video_output/video_output.c
src/video_output/video_output.c
+1
-0
No files found.
README
View file @
5183d34d
README for the VLC media player
dd
README for the VLC media player
===============================
The VideoLAN web site . . . http://www.videolan.org/
...
...
modules/gui/macosx/intf.m
View file @
5183d34d
...
...
@@ -1157,10 +1157,11 @@ static VLCMain *_o_sharedMainInstance = nil;
if
(
!
p_input
)
{
p_input
=
playlist_CurrentInput
(
p_playlist
);
/* Refresh the interface */
if
(
p_input
)
{
printf
(
"yield
\n
"
);
msg_Dbg
(
p_intf
,
"input has changed, refreshing interface"
);
p_intf
->
p_sys
->
b_input_update
=
true
;
}
...
...
@@ -1171,6 +1172,7 @@ static VLCMain *_o_sharedMainInstance = nil;
p_intf
->
p_sys
->
b_intf_update
=
true
;
p_intf
->
p_sys
->
i_play_status
=
END_S
;
msg_Dbg
(
p_intf
,
"input has stopped, refreshing interface"
);
printf
(
"release
\n
"
);
vlc_object_release
(
p_input
);
p_input
=
NULL
;
}
...
...
src/input/input.c
View file @
5183d34d
...
...
@@ -140,6 +140,7 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
"input launching for '%s'"
,
psz_name
);
msg_Dbg
(
p_input
,
"Creating an input for '%s'"
,
psz_name
);
printf
(
"Creating an input for '%s'"
,
psz_name
);
free
(
psz_name
);
...
...
@@ -317,6 +318,7 @@ static void Destructor( input_thread_t * p_input )
#ifndef NDEBUG
char
*
psz_name
=
input_item_GetName
(
p_input
->
p
->
input
.
p_item
);
msg_Dbg
(
p_input
,
"Destroying the input for '%s'"
,
psz_name
);
printf
(
"Destroying the input for '%s'"
,
psz_name
);
free
(
psz_name
);
#endif
...
...
src/libvlc.c
View file @
5183d34d
...
...
@@ -94,6 +94,7 @@
#include "playlist/playlist_internal.h"
#include <vlc_vlm.h>
#include <vlc_input.h>
#include <assert.h>
...
...
@@ -112,6 +113,9 @@ void __vlc_gc_incref( gc_object_t * p_gc )
{
assert
(
p_gc
->
i_gc_refcount
>
0
);
char
*
name
=
input_item_GetName
((
input_item_t
*
)
p_gc
);
printf
(
"--- %s++ (%d)
\n
"
,
name
,
p_gc
->
i_gc_refcount
+
1
);
free
(
name
);
/* FIXME: atomic version needed! */
p_gc
->
i_gc_refcount
++
;
}
...
...
@@ -120,6 +124,9 @@ void __vlc_gc_decref( gc_object_t *p_gc )
{
assert
(
p_gc
);
assert
(
p_gc
->
i_gc_refcount
>
0
);
char
*
name
=
input_item_GetName
((
input_item_t
*
)
p_gc
);
printf
(
"--- %s-- (%d)
\n
"
,
name
,
p_gc
->
i_gc_refcount
-
1
);
free
(
name
);
/* FIXME: atomic version needed! */
p_gc
->
i_gc_refcount
--
;
...
...
@@ -1053,7 +1060,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
FOREACH_ARRAY
(
input_item_t
*
p_del
,
priv
->
input_items
)
msg_Err
(
p_libvlc
,
"input item %p has not been deleted properly: refcount %d, name %s"
,
p_del
,
p_del
->
i_gc_refcount
,
p_del
->
psz_name
?
p_del
->
psz_name
:
"(null)"
);
b_clean
=
false
;
//
b_clean = false;
FOREACH_END
();
assert
(
b_clean
);
ARRAY_RESET
(
priv
->
input_items
);
...
...
src/playlist/engine.c
View file @
5183d34d
...
...
@@ -233,6 +233,7 @@ void playlist_release_current_input( playlist_t * p_playlist )
/* Release the playlist lock, because we may get stuck
* in vlc_object_release() for some time. */
printf
(
"_______ releasing
\n
"
);
PL_UNLOCK
;
vlc_object_release
(
p_input
);
PL_LOCK
;
...
...
src/video_output/video_output.c
View file @
5183d34d
...
...
@@ -1522,6 +1522,7 @@ static int FilterCallback( vlc_object_t *p_this, char const *psz_cmd,
p_suxor
->
p_input
=
p_input
;
p_vout
->
b_filter_change
=
true
;
vlc_object_yield
(
p_input
);
printf
(
"SUXXXXOR
\n
"
);
vlc_thread_create
(
p_suxor
,
"suxor"
,
SuxorRestartVideoES
,
VLC_THREAD_PRIORITY_LOW
,
false
);
}
...
...
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