Input access locking, part 3 (final).
authorRafaël Carré <funman@videolan.org>
Wed, 22 Aug 2007 20:19:23 +0000 (20:19 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 22 Aug 2007 20:19:23 +0000 (20:19 +0000)
commite02432e597acb3511d14433ae3303ff4da3742f9
tree20f2880d0c576ee89c435aa72177bacb15090e47
parent4fa324127f5179a41d0bd38db414002afa9db73b
Input access locking, part 3 (final).

Enforce access to input_item_t through input_item_{G,S}et*()
Unlock mutexes before calling these functions
Free strings returned by input_item_Get*()

New functions added:

char * input_item_GetURI( input_item_t  * )
void input_item_SetURI( input_item_t * , char * )

mtime_t input_item_GetDuration( input_item_t * )
void input_item_SetDuration( input_item_t * , mtime_t )

to access input_item_t->psz_uri and input_item_t->i_duration
55 files changed:
include/vlc_input.h
modules/access/cdda.c
modules/access/cdda/info.c
modules/access/http.c
modules/access_output/http.c
modules/codec/cmml/history.c
modules/codec/cmml/intf.c
modules/control/dbus.c
modules/control/hotkeys.c
modules/control/http/macro.c
modules/control/http/rpn.c
modules/control/http/util.c
modules/control/rc.c
modules/demux/playlist/asx.c
modules/demux/playlist/b4s.c
modules/demux/playlist/podcast.c
modules/demux/playlist/xspf.c
modules/gui/macosx/bookmarks.m
modules/gui/macosx/playlist.m
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/vout.m
modules/gui/macosx/wizard.m
modules/gui/ncurses.c
modules/gui/qt4/components/infopanels.cpp
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/playlist_model.cpp
modules/gui/wince/iteminfo.cpp
modules/gui/wince/playlist.cpp
modules/gui/wxwidgets/dialogs/bookmarks.cpp
modules/gui/wxwidgets/dialogs/infopanels.cpp
modules/gui/wxwidgets/dialogs/iteminfo.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/wizard.cpp
modules/gui/wxwidgets/playlist_manager.cpp
modules/meta_engine/folder.c
modules/meta_engine/taglib.cpp
modules/misc/audioscrobbler.c
modules/misc/notify/growl.c
modules/misc/notify/msn.c
modules/misc/notify/notify.c
modules/misc/notify/xosd.c
modules/misc/playlist/m3u.c
modules/misc/playlist/xspf.c
modules/misc/rtsp.c
modules/services_discovery/sap.c
modules/visualization/galaktos/plugin.c
modules/visualization/goom.c
src/control/media_descriptor.c
src/control/mediacontrol_core.c
src/input/input.c
src/input/vlm.c
src/playlist/item.c
src/playlist/sort.c
src/text/strings.c
src/video_output/video_output.c