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 712358 - mssdemux: push language code tag
mssdemux: push language code tag
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other All
: Normal enhancement
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-15 10:47 UTC by Guillaume Desmottes
Modified: 2014-05-04 10:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mssmanifest: coding style fix (1.22 KB, patch)
2013-11-15 10:47 UTC, Guillaume Desmottes
none Details | Review
mssmanifest: store the language of the stream (2.62 KB, patch)
2013-11-15 10:47 UTC, Guillaume Desmottes
committed Details | Review
mssdemux: push language code tag (2.85 KB, patch)
2013-11-15 10:47 UTC, Guillaume Desmottes
needs-work Details | Review

Description Guillaume Desmottes 2013-11-15 10:47:07 UTC
The following patches add support for stream language tags.
Unfortunatelly totem doesn't receive them probably because of #679768 or a similiar issue.

It does work if I push the tags before *each* buffer and with this totem bug fixed: bug #712310
Comment 1 Guillaume Desmottes 2013-11-15 10:47:30 UTC
Created attachment 259862 [details] [review]
mssmanifest: coding style fix

Needed to make the git commit hook happy.
Comment 2 Guillaume Desmottes 2013-11-15 10:47:33 UTC
Created attachment 259863 [details] [review]
mssmanifest: store the language of the stream
Comment 3 Guillaume Desmottes 2013-11-15 10:47:37 UTC
Created attachment 259864 [details] [review]
mssdemux: push language code tag
Comment 4 Olivier Crête 2013-11-29 00:51:03 UTC
Review of attachment 259864 [details] [review]:

::: ext/smoothstreaming/gstmssdemux.c
@@ +1347,3 @@
     }
 
+    push_stream_tags (mssdemux, stream);

The tags should be pushed on the pad before the pad is exposed, that is before called gst_element_add_pad(). This also applies to the segment. I'm not sure why there is a pending_segments. So it should be pushed in gst_mss_demux_expose_stream() I think.
Comment 5 Guillaume Desmottes 2013-11-29 13:04:59 UTC
Review of attachment 259864 [details] [review]:

::: ext/smoothstreaming/gstmssdemux.c
@@ +1347,3 @@
     }
 
+    push_stream_tags (mssdemux, stream);

Ah? I've been told to do it there on IRC.
Comment 6 Thiago Sousa Santos 2013-12-18 22:47:34 UTC
commit f44c6ed52666d4c0529ebeb1ecd44828816e15e3
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Thu Nov 14 15:23:42 2013 +0100

    mssdemux: push language code tag
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712358

commit d6a9f17d8afe81aebdc96ad4bb7815fdcefdd4c0
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Thu Nov 14 15:14:18 2013 +0100

    mssmanifest: store the language of the stream
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712358
Comment 7 Thiago Sousa Santos 2013-12-18 22:48:24 UTC
Comment on attachment 259864 [details] [review]
mssdemux: push language code tag

Pushed an updated version, marking this as obsolete