Two things I fixed today...

Want to help the VideoLAN project? Designers, testers, translators, please come...
This is NOT about GETTING some help.
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
UKdude
New Cone
New Cone
Posts: 1
Joined: 18 Jul 2008 00:59

Two things I fixed today...

Postby UKdude » 18 Jul 2008 01:12

Hi,

I hope i'm posting in the correct place, I did skim over the rules and assumed this was where it was best to post.

We had to deliver a project this week using C# & the ActiveX control. We were playing back a large .mp4 file (2732x768) which we needed the ability to seek through.

Only problem was, seeking an .mp4 in 0.8.6 had the strange bug under Windows where we could only seek to a position in the video for as long as the computer had been on!

Solution, as posted by someone else here: in mtime.c add a big value on to GetTickCount() - something like: GetTickCount() + 10000000

Compiled and happy days, I could now skip to anywhere in the video staight after boot in VLC.

Fired my app to bask and glory and WTF, now the ActiveX won't skip anywhere at all, setting .Time just resets to the beginning of the video!

Solution:

I copied the code from setTime in the ActiveX cpp source file from version 0.8.6c into the same function in 0.8.6h.

Compiled... yay! All works!

Just thought i'd feed this back and say what a great project VLC is and how much i've used it over the past few years.

Many thanks,

Chris

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Two things I fixed today...

Postby Jean-Baptiste Kempf » 25 Jul 2008 20:16

Mail and send patches to vlc-devel@
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Contribute and help the VideoLAN project”

Who is online

Users browsing this forum: No registered users and 9 guests