| 1394 | | if( p_vout->p_parent_intf ) |
|---|
| 1395 | | { |
|---|
| 1396 | | p_vout->b_filter_change = VLC_TRUE; |
|---|
| 1397 | | suxor_thread_t *p_suxor = |
|---|
| 1398 | | vlc_object_create( p_vout, sizeof(suxor_thread_t) ); |
|---|
| 1399 | | p_suxor->p_input = p_input; |
|---|
| 1400 | | vlc_object_yield( p_input ); |
|---|
| 1401 | | vlc_thread_create( p_suxor, "suxor", SuxorRestartVideoES, |
|---|
| 1402 | | VLC_THREAD_PRIORITY_LOW, VLC_FALSE ); |
|---|
| 1403 | | } |
|---|
| 1404 | | else |
|---|
| 1405 | | { |
|---|
| 1406 | | vlc_value_t val_es; |
|---|
| 1407 | | val_es.i_int = -VIDEO_ES; |
|---|
| 1408 | | p_vout->b_filter_change = VLC_TRUE; |
|---|
| 1409 | | var_Set( p_input, "video-es", val_es ); |
|---|
| 1410 | | var_Set( p_input, "video-es", val ); |
|---|
| 1411 | | } |
|---|
| | 1405 | p_vout->b_filter_change = VLC_TRUE; |
|---|
| | 1406 | suxor_thread_t *p_suxor = |
|---|
| | 1407 | vlc_object_create( p_vout, sizeof(suxor_thread_t) ); |
|---|
| | 1408 | p_suxor->p_input = p_input; vlc_object_yield( p_input ); |
|---|
| | 1409 | p_suxor->p_vout = p_vout; vlc_object_yield( p_vout ); |
|---|
| | 1410 | if( psz_mode && *psz_mode ) |
|---|
| | 1411 | p_suxor->psz_mode = strdup( psz_mode ); |
|---|
| | 1412 | vlc_thread_create( p_suxor, "suxor", SuxorRestartVideoES, |
|---|
| | 1413 | VLC_THREAD_PRIORITY_LOW, VLC_FALSE ); |
|---|
| 1442 | | if( p_vout->p_parent_intf ) |
|---|
| 1443 | | { |
|---|
| 1444 | | p_vout->b_filter_change = VLC_TRUE; |
|---|
| 1445 | | suxor_thread_t *p_suxor = |
|---|
| 1446 | | vlc_object_create( p_vout, sizeof(suxor_thread_t) ); |
|---|
| 1447 | | p_suxor->p_input = p_input; |
|---|
| 1448 | | vlc_object_yield( p_input ); |
|---|
| 1449 | | vlc_thread_create( p_suxor, "suxor", SuxorRestartVideoES, |
|---|
| 1450 | | VLC_THREAD_PRIORITY_LOW, VLC_FALSE ); |
|---|
| 1451 | | } |
|---|
| 1452 | | else |
|---|
| 1453 | | { |
|---|
| 1454 | | vlc_value_t val_es; |
|---|
| 1455 | | val_es.i_int = -VIDEO_ES; |
|---|
| 1456 | | p_vout->b_filter_change = VLC_TRUE; |
|---|
| 1457 | | var_Set( p_input, "video-es", val_es ); |
|---|
| 1458 | | var_Set( p_input, "video-es", val ); |
|---|
| 1459 | | } |
|---|
| | 1444 | p_vout->b_filter_change = VLC_TRUE; |
|---|
| | 1445 | suxor_thread_t *p_suxor = |
|---|
| | 1446 | vlc_object_create( p_vout, sizeof(suxor_thread_t) ); |
|---|
| | 1447 | p_suxor->p_input = p_input; |
|---|
| | 1448 | vlc_object_yield( p_input ); |
|---|
| | 1449 | vlc_thread_create( p_suxor, "suxor", SuxorRestartVideoES, |
|---|
| | 1450 | VLC_THREAD_PRIORITY_LOW, VLC_FALSE ); |
|---|