Changeset 34aa74681c8e5ebfcd81a3f6c30c50ba46cca2e7
- Timestamp:
- 06/19/07 22:48:50
(1 year ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1182286130 +0000
- git-parent:
[72f9267e6334f790fafd07d99c38886b02dc5a60]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1182286130 +0000
- Message:
Python: More input->media_instance changes.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r12e055f |
r34aa746 |
|
| 319 | 319 | { |
|---|
| 320 | 320 | libvlc_exception_t ex; |
|---|
| 321 | | libvlc_input_t *p_input; |
|---|
| | 321 | libvlc_media_instance_t *p_md; |
|---|
| 322 | 322 | vlcInput *p_ret; |
|---|
| 323 | 323 | |
|---|
| 324 | 324 | LIBVLC_TRY; |
|---|
| 325 | | p_input = libvlc_playlist_get_input( LIBVLC_INSTANCE->p_instance, &ex ); |
|---|
| | 325 | p_md = libvlc_playlist_get_media_instance( LIBVLC_INSTANCE->p_instance, &ex ); |
|---|
| 326 | 326 | LIBVLC_EXCEPT; |
|---|
| 327 | 327 | |
|---|
| 328 | 328 | p_ret = PyObject_New( vlcInput, &vlcInput_Type ); |
|---|
| 329 | | p_ret->p_input = p_input; |
|---|
| | 329 | p_ret->p_md = p_md; |
|---|
| 330 | 330 | Py_INCREF( p_ret ); /* Ah bon ? */ |
|---|
| 331 | 331 | return ( PyObject * )p_ret; |
|---|