Changeset 46cf6c1438d0c1a4b80ecbcc84a7cbbef0300930
- Timestamp:
- 27/06/08 13:15:36
(5 months ago)
- Author:
- Ilkka Ollakka <ileoo@videolan.org>
- git-committer:
- Ilkka Ollakka <ileoo@videolan.org> 1214565336 +0300
- git-parent:
[ba9ecc700f9dd868929b81e492ea287f0ed244f6]
- git-author:
- Ilkka Ollakka <ileoo@videolan.org> 1214565336 +0300
- Message:
give playlist to vlclua_playlist_add_internal instead of NULL, core doesn't like
NULL as playlist. fixes eg. youtube usage for me. Thou not sure if this
could be done some better way.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r95addd5 |
r46cf6c1 |
|
| 247 | 247 | vlc_object_find( p_demux, VLC_OBJECT_INPUT, FIND_PARENT ); |
|---|
| 248 | 248 | input_item_t *p_current_input = input_GetItem( p_input_thread ); |
|---|
| | 249 | playlist_t *p_playlist = pl_Yield( p_demux ); |
|---|
| 249 | 250 | |
|---|
| 250 | 251 | luaL_register( L, "vlc", p_reg_parse ); |
|---|
| … | … | |
| 270 | 271 | |
|---|
| 271 | 272 | if( lua_gettop( L ) ) |
|---|
| 272 | | vlclua_playlist_add_internal( p_demux, L, NULL, |
|---|
| | 273 | vlclua_playlist_add_internal( p_demux, L, p_playlist, |
|---|
| 273 | 274 | p_current_input, 0 ); |
|---|
| 274 | 275 | else |
|---|
| … | … | |
| 276 | 277 | |
|---|
| 277 | 278 | vlc_object_release( p_input_thread ); |
|---|
| | 279 | pl_Release( p_playlist ); |
|---|
| 278 | 280 | |
|---|
| 279 | 281 | return -1; /* Needed for correct operation of go back */ |
|---|