| |||||||
| Get Support Problems with the TV-Server or Client? Post them in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post
| sometimes the IMediaPosition::get_Duration is a lower number than IMediaPosition::get_CurrentPosition! happens after a channel change that uses the same stream url. |
| | |
| |
| | #2 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 2,978
Thanks: 76
Thanked 85 Times in 69 Posts
| I think there is a good explanation for that. Duration is the available data in the buffer (i.e. you can seek that amount backwards) and the current position is the position in the stream itself and not in the TS buffer. This is needed for example so that subtitles are possible to be displayed after the TS buffer has been rolled over.
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post
| I did think of that, but it doesn't explain why seconds after changing to another channel it showed the Duration as being 26 seconds. Why not <3 secs? What is the math behind 26 (between 23-26 anyway)? |
| | |
![]() |
| Bookmarks |
| Tags |
| andgt, duration, position, tsreaderax |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problems with playback using tsreader.ax | fillerguy | General Support | 8 | 2008-02-03 09:46 |
| Black screen after on/off on tv MP 0.2.2.0 (Mac mini -> DVI -> HDMI -> Samsung LCD) | FlexyZ | MediaPortal 1 Talk | 1 | 2007-01-02 23:00 |
| Record duration | raiuga02 | Installation, configuration support | 0 | 2006-12-26 19:03 |
| File>change device and configuration>general>allway | Lolita | The old Bugreport Forum | 3 | 2006-07-10 20:39 |
| Need some Information about MPGMUX.AX & CLDUMP.AX | merci1983 | OffTopic | 4 | 2005-01-27 16:51 |