After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336332 - Can't play a file in pitivi until i scrub forward
Can't play a file in pitivi until i scrub forward
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: General
Git
Other Linux
: Normal normal
: 0.10.2
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on: 337981
Blocks:
 
 
Reported: 2006-03-28 12:04 UTC by Andy Wingo
Modified: 2006-08-18 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing the prob (32.21 KB, image/png)
2006-04-25 14:20 UTC, Andy Wingo
Details

Description Andy Wingo 2006-03-28 12:04:07 UTC
Steps to reproduce:

1) add matrix.dv to the sources
2) drag matrix.dv to the timeline
3) switch the video to Project: New Project
4) press play

expected results: video plays

actual results: button changes to paused to indicate that it should be playing, but video does not play. have to scrub forward to get it to play.
Comment 1 Edward Hervey 2006-03-28 12:31:19 UTC
With the latest updates it seems to work fine. Can you try it again ?
Comment 2 Andy Wingo 2006-03-28 15:05:12 UTC
Still doesn't work for me. CVS gstreamer/gnonlin from this morning, pitivi as of now.
Comment 3 Edward Hervey 2006-04-10 17:35:17 UTC
This is a known bug in gnonlin (See #337981).
Does it still fail with latest gnonlin ?
Comment 4 Andy Wingo 2006-04-21 17:10:46 UTC
I have the latest gnonlin and it still fails.
Comment 5 Edward Hervey 2006-04-25 13:38:42 UTC
could you try again with latest cvs and gnonlin 0.10.2.1 (http://gstreamer.freedesktop.org/data/src/gnonlin/pre/) ? I think I aced this one
Comment 6 Andy Wingo 2006-04-25 14:20:58 UTC
Created attachment 64272 [details]
screenshot showing the prob

Hm, interesting results: if you accidentally omit (2) pitivi claims that something is done playing, but the playing button has the pause icon. Probably a pitivi problem.
Comment 7 Andy Wingo 2006-04-25 14:25:07 UTC
More feedback:

1) It appears that a small piece of video plays, then pauses, when I select Project: New Project as the source. When I press play it plays fine. Probably due to allowing some data through?

2) If I then drag matrix.dv from the sources list to the video window, it plays fine. But then if I switch to Project: New project, I get the following error on the console:

Traceback (most recent call last):
  • File "pitivi/ui/viewer.py", line 317 in _checkTimeCb
    pending, state, result = instance.PiTiVi.playground.current.get_state(10)
AttributeError: 'NoneType' object has no attribute 'get_state'

Comment 8 Edward Hervey 2006-05-16 13:55:27 UTC
can you try again with latest cvs of PiTiVi. Just made a big commit change to the way position is handled and it's much saner now. It should avoid a lot of issues, including the ones you were seeing.
Comment 9 Edward Hervey 2006-08-18 13:26:55 UTC
This is now solved in dvdemux. The problem was that the newsegment event was being sent from the thread calling the seek, instead of being sent from the streaming thread.

Will be available in the 0.10.5 release of gst-plugins-good.

2006-08-18  Edward Hervey  <edward@fluendo.com>

        * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_pull_seek),
        (gst_dvdemux_loop), (gst_dvdemux_change_state):
        * ext/dv/gstdvdemux.h:
        When handling seek requests, don't send the newsegment event from the
        calling thread. Instead save it so it can be sent from the streaming
        thread.