Changeset 242309aa32c60673010d3fd620818310d268b5d2
- Timestamp:
- 13/06/08 15:12:05
(6 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1213362725 +0200
- git-parent:
[f3128ac1bc6e357f774f481b437b511752f02832]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1213362725 +0200
- Message:
libvlc_video: More simplification.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf3128ac |
r242309a |
|
| 527 | 527 | /* We only work on the first vout */ |
|---|
| 528 | 528 | vout_thread_t *p_vout = GetVout( p_mi, p_e ); |
|---|
| 529 | | vlc_value_t val; int i_ret; |
|---|
| | 529 | bool opaque; int i_ret; |
|---|
| 530 | 530 | |
|---|
| 531 | 531 | /* GetVout will raise the exception for us */ |
|---|
| 532 | | if( !p_vout ) |
|---|
| 533 | | return; |
|---|
| 534 | | |
|---|
| 535 | | i_ret = var_Get( p_vout, "vbi-opaque", &val ); |
|---|
| 536 | | if( i_ret ) |
|---|
| 537 | | libvlc_exception_raise( p_e, |
|---|
| 538 | | "Unexpected error while looking up teletext value" ); |
|---|
| 539 | | |
|---|
| 540 | | val.b_bool = !val.b_bool; |
|---|
| 541 | | i_ret = var_Set( p_vout, "vbi-opaque", val ); |
|---|
| | 532 | if( !p_vout ) return; |
|---|
| | 533 | |
|---|
| | 534 | opaque = var_GetBool( p_vout, "vbi-opaque" ); |
|---|
| | 535 | i_ret = var_SetBool( p_vout, "vbi-opaque", !opaque ); |
|---|
| 542 | 536 | if( i_ret ) |
|---|
| 543 | 537 | libvlc_exception_raise( p_e, |
|---|