XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-02-02, 13:26   #1
ezd
Member
 
Join Date: Oct 2003
Posts: 39
ezd is on a distinguished road
Default

hi,

i like to be able to step back some seconds in a movie, to re-hear a mumbled line or re-see a quickly disappearing subtitle. search for a keyframe some seconds before the current position- easy.

i indeed quickly made an xbmp patch for this (put it on sf), but while browsing up and down i couldn't find any function to obtain the current playing position- getpercentage is too crude and gettime is for the total running time.

did i totally miss a function or would i need to patch mplayer (if i can get it to compile )?

thanks,

ezd
ezd is offline   Reply With Quote
Old 2004-02-02, 15:31   #2
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

(for reference: ezd patch info can be found here: "patch proposal" and here: "brief rewind for missed lines/subtitles"
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Gamester17 is offline   Reply With Quote
Old 2004-02-02, 19:17   #3
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

k,
just added the following

Quote:
cmplayer::gettime()
returns current playtime (in secs)

cmplayer::gettotaltime()
returns total duration of movie (in secs)

cmplayer::seektime(int itime)
jump to [itime] seconds
with these functions you should b able to add your patch
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2004-02-03, 02:51   #4
ezd
Member
 
Join Date: Oct 2003
Posts: 39
ezd is on a distinguished road
Default

whoa, that's fast, thanks frodo!

can't waait for the next cvs tarball
ezd is offline   Reply With Quote
Old 2004-02-04, 20:31   #5
ezd
Member
 
Join Date: Oct 2003
Posts: 39
ezd is on a distinguished road
Default

function added, posted the diffs @ sf.
ezd is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal Lines in video Playback dparish XBMC for Xbox Specific Support 6 2006-08-21 11:09
small step back delay LRa XBMC for Xbox Specific Support 0 2006-07-31 08:25
Problem with vertical lines. fesken XBMC for Xbox Specific Support 4 2005-09-16 19:07
rectangles & lines zilvershadow XBMC Feature Suggestions 1 2004-10-23 19:29
DVD player showing interlacing lines Kobazz XBMC for Xbox Specific Support 2 1970-01-01 02:00


All times are GMT +2. The time now is 23:19.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project