411
|
|
|
David Jordan |
|
7 years ago
|
|
|
410
|
|
|
David Jordan |
|
7 years ago
|
|
|
409
|
|
|
David Jordan |
|
7 years ago
|
|
|
408
|
|
|
Jason Gerard DeRose |
|
7 years ago
|
|
|
407
|
|
|
Jason Gerard DeRose |
16.03.0 |
8 years ago
|
|
|
406
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
405
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
404
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
403
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
402
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
401
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
400
|
|
|
Jason Gerard DeRose |
15.10.0 |
8 years ago
|
|
|
399
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
398
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
397
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
396
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
395
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
394
|
|
Replace EOS handling mess with something good.
Previous attempt was to handle EOS events and internal "we want to stop here" conditions (aka, work-arounds for Gst 1.2) using the same unified code paths for Gst 1.2 through 1.6. Unfortunately, this turned out to be an unholy racy mess that introduced regressions from Gst 1.2 to shining Gst 1.6.
Fortunately, with Gst 1.4 and newer, EOS doesn't fire early, works with rather perfect reliability. We can count on it to fire at the *true* end of a non-simple seek, not before; so there's no reason to 2nd guess it with a GLib.idle_add(self.complete, True) from within the appsink "new-sample" event handler once we reach the final frame in a slice.
So... this new attempt was first written to be a simple, correct solution for Gst >= 1.4, and seems to have solidly fixed the regressions there.
Then as needed, horrible special case hacks were grafted on for Gst 1.2, but these code paths are only taken when USE_HACKS is True. There may be some remaining regressions with Gst 1.2, but we're mostly back to where we were.
As very soon we'll be dropping support for Trusty for new Novacut development, will only be targeting Wily and newer (GStreamer 1.6 and newer), this is the direction we want to be heading, even if there is still some Gst 1.2 baggage in the mean time.
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
393
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|
392
|
|
|
Jason Gerard DeRose |
|
8 years ago
|
|
|