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 751149 - dashdemux: add warning messages
dashdemux: add warning messages
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-18 11:39 UTC by Florin Apostol
Modified: 2015-06-18 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch 1/2 (3.02 KB, patch)
2015-06-18 11:40 UTC, Florin Apostol
committed Details | Review
patch 2/2 (2.17 KB, patch)
2015-06-18 11:40 UTC, Florin Apostol
none Details | Review
updated patch 2/2 (2.18 KB, patch)
2015-06-18 15:23 UTC, Florin Apostol
committed Details | Review

Description Florin Apostol 2015-06-18 11:39:56 UTC
Added some warning messages in gst_mpd_client_setup_streaming to help debug situations when the function will return FALSE.

Also corrected some spelling and some comments.
2 patches attached.
Comment 1 Florin Apostol 2015-06-18 11:40:29 UTC
Created attachment 305544 [details] [review]
patch 1/2
Comment 2 Florin Apostol 2015-06-18 11:40:56 UTC
Created attachment 305545 [details] [review]
patch 2/2
Comment 3 Thiago Sousa Santos 2015-06-18 14:25:12 UTC
Review of attachment 305545 [details] [review]:

Minor change needed. I'll merge both after this update.

::: ext/dash/gstmpdparser.c
@@ +3538,3 @@
       gst_mpdparser_representation_get_mimetype (adapt_set, representation);
   if (stream->mimeType == GST_STREAM_UNKNOWN) {
+    GST_WARNING ("No mime type in the representation, aborting...");

I think it would be better phrased as: "unknown mime type in the representation, aborting..."

it is set to UNKNOWN when the mimetype doesn't start with audio, video or application. It doesn't necessarily mean there was no mime type in the node.
Comment 4 Florin Apostol 2015-06-18 15:23:21 UTC
Created attachment 305602 [details] [review]
updated patch 2/2
Comment 5 Thiago Sousa Santos 2015-06-18 15:46:52 UTC
commit d268f812eb616666251bc689a1e823ee4ed89e3a
Author: Florin Apostol <florin.apostol@oregan.net>
Date:   Thu Jun 18 16:20:26 2015 +0100

    dashdemux: added warnings in gst_mpd_client_setup_streaming function
    
    Added some warning messages in gst_mpd_client_setup_streaming to help
    debug situations when the function will return FALSE.
    
    Renamed a wrongly spelled variable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751149

commit e4d6e96c820b7a73d585cd174aca46b3aef8b885
Author: Florin Apostol <florin.apostol@oregan.net>
Date:   Thu Jun 18 12:21:43 2015 +0100

    dashdemux: corrected comments in gstmpdparser.h
    
    Corrected some comments in gstmpdparser.h file.
    Moved gst_mpd_client_get_adaptation_sets function to be grouped with
    other functions from AdaptationSet group
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751149