Changeset e41cdcc4acaf1c7d41a2ad9cfd467dcbe7ddeb1b
- Timestamp:
- 07/01/08 15:23:12
(1 year ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1199715792 +0000
- git-parent:
[24653effadab954f68518f48fd36ffd6b968de4f]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1199715792 +0000
- Message:
src/input.c: Define and set the "can-pause" variable.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbae7c73 |
re41cdcc |
|
| 109 | 109 | * - bookmarks |
|---|
| 110 | 110 | * - seekable (if you can seek, it doesn't say if 'bar display' has be shown or not, for that check position != 0.0) |
|---|
| | 111 | * - can-pause |
|---|
| 111 | 112 | * * For intf callback upon changes |
|---|
| 112 | 113 | * - intf-change |
|---|
| … | … | |
| 2266 | 2267 | &in->b_can_pause ) ) |
|---|
| 2267 | 2268 | in->b_can_pause = VLC_FALSE; |
|---|
| | 2269 | var_SetBool( p_input, "can-pause", in->b_can_pause ); |
|---|
| 2268 | 2270 | |
|---|
| 2269 | 2271 | int ret = demux2_Control( in->p_demux, DEMUX_CAN_SEEK, |
|---|
| … | … | |
| 2362 | 2364 | access2_Control( in->p_access, ACCESS_CAN_PAUSE, |
|---|
| 2363 | 2365 | &in->b_can_pause ); |
|---|
| | 2366 | var_SetBool( p_input, "can-pause", in->b_can_pause ); |
|---|
| 2364 | 2367 | access2_Control( in->p_access, ACCESS_CAN_SEEK, |
|---|
| 2365 | 2368 | &val.b_bool ); |
|---|
| rb6c6094 |
re41cdcc |
|
| 449 | 449 | val.b_bool = VLC_TRUE; /* Fixed later*/ |
|---|
| 450 | 450 | var_Change( p_input, "seekable", VLC_VAR_SETVALUE, &val, NULL ); |
|---|
| | 451 | var_Create( p_input, "can-pause", VLC_VAR_BOOL ); |
|---|
| | 452 | val.b_bool = VLC_TRUE; /* Fixed later*/ |
|---|
| | 453 | var_Change( p_input, "can-pause", VLC_VAR_SETVALUE, &val, NULL ); |
|---|
| 451 | 454 | |
|---|
| 452 | 455 | /* */ |
|---|