Changeset 20caf7888627c636c34dcaedfc1be00f5730950c
- Timestamp:
- 03/09/08 21:35:06
(3 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1220470506 +0300
- git-parent:
[fbaf2698e53f6288169fb6ad6e603860559ce026]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1220465512 +0300
- Message:
Do not lock the input while talking to D-Bus
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfbaf269 |
r20caf78 |
|
| 231 | 231 | if( p_input ) |
|---|
| 232 | 232 | { |
|---|
| 233 | | if( PLAYING_S == p_input->i_state && !p_intf->p_sys->i_cookie ) |
|---|
| | 233 | int i_state = p_input->i_state; |
|---|
| | 234 | vlc_object_release( p_input ); |
|---|
| | 235 | |
|---|
| | 236 | if( PLAYING_S == i_state && !p_intf->p_sys->i_cookie ) |
|---|
| 234 | 237 | { |
|---|
| 235 | 238 | if( !Inhibit( p_intf ) ) |
|---|
| 236 | | { |
|---|
| 237 | | vlc_object_release( p_input ); |
|---|
| 238 | | goto end; |
|---|
| 239 | | } |
|---|
| | 239 | break; |
|---|
| 240 | 240 | } |
|---|
| 241 | 241 | else if( p_intf->p_sys->i_cookie ) |
|---|
| 242 | 242 | { |
|---|
| 243 | 243 | if( !UnInhibit( p_intf ) ) |
|---|
| 244 | | { |
|---|
| 245 | | vlc_object_release( p_input ); |
|---|
| 246 | | goto end; |
|---|
| 247 | | } |
|---|
| | 244 | break; |
|---|
| 248 | 245 | } |
|---|
| 249 | | vlc_object_release( p_input ); |
|---|
| 250 | 246 | } |
|---|
| 251 | 247 | else if( p_intf->p_sys->i_cookie ) |
|---|
| 252 | 248 | { |
|---|
| 253 | 249 | if( !UnInhibit( p_intf ) ) |
|---|
| 254 | | goto end; |
|---|
| | 250 | break; |
|---|
| 255 | 251 | } |
|---|
| 256 | 252 | } |
|---|