Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Small black gap when changing ogg files in video entities.  (Read 3444 times)

0 Members and 1 Guest are viewing this topic.

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile
Small black gap when changing ogg files in video entities.
« on: December 24, 2009, 08:42:23 AM »

I want to change the video that is playing in one of the entities but whenever I do before the next video is played there is a quick black space.  Is there a way around this issue.  Here is my example code;

Code: [Select]
var MainChar = Scene.GetNode("walkaway");
MainChar.PlayTheora ("videos/scene.ogv", true);

And here is the code when you left on click on a hotspot at the bottom of the screen.

Code: [Select]
var ChangeAnim = Scene.GetNode("walkaway");
  ChangeAnim.PauseTheora (500);
  ChangeAnim.PlayTheora ("videos/scene2.ogv", false);

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Small black gap when changing ogg files in video entities.
« Reply #1 on: December 31, 2009, 12:36:45 PM »

I fixed the problem (at least I think so).
You can try a test build of wme.exe if you have a moment.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile
Re: Small black gap when changing ogg files in video entities.
« Reply #2 on: December 31, 2009, 11:29:10 PM »

Thanks I'll try it out :)
Logged
 

Page created in 0.042 seconds with 20 queries.