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 750108 - splitmuxsink: post messages when fragments are being opened and closed
splitmuxsink: post messages when fragments are being opened and closed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 1.6.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-29 14:37 UTC by George Kiagiadakis
Modified: 2015-10-02 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (3.48 KB, patch)
2015-05-29 14:37 UTC, George Kiagiadakis
committed Details | Review

Description George Kiagiadakis 2015-05-29 14:37:21 UTC
Created attachment 304267 [details] [review]
patch

When splitting a recording into multiple files, it is sometimes useful to know when a recording file is created and when it is closed. This can be used, for example, to log the filenames in a database.

This patch adds lets splitmuxsink post messages on the bus when these events happen. The messages also contain the pipeline's running_time associated with the first and last buffer that is written in a file, so that it is possible to log the time span that each file contains.
Comment 1 Jan Schmidt 2015-09-05 14:04:01 UTC
Review of attachment 304267 [details] [review]:

Only just saw this months-old bug. This patch looks fine....
Comment 2 Jan Schmidt 2015-10-02 14:55:17 UTC
Comment on attachment 304267 [details] [review]
patch

commit 5e4caca709c0f971dc942429a8578eb77133145a
Author: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date:   Fri Apr 17 14:25:43 2015 +0200

    splitmuxsink: post messages when fragments are being opened and closed
    
    This can be useful for applications that need to track the created fragments
    (to log them in a recording database, for example)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750108