gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Gabriele Giacone
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1749-ge64cc39
Date: Mon, 19 Aug 2013 18:21:34 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  e64cc391debe8eaae230dd86a7a858401601172f (commit)
      from  95c3775434762cc05df0a62426310d56a2efba92 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=e64cc391debe8eaae230dd86a7a858401601172f


commit e64cc391debe8eaae230dd86a7a858401601172f
Author: Gabriele Giacone <address@hidden>
Date:   Mon Aug 19 20:09:29 2013 +0200

    Fix warning: case value '0' not in enumerated type.

diff --git a/libmedia/MediaParser.h b/libmedia/MediaParser.h
index 535dd78..35ed0d0 100644
--- a/libmedia/MediaParser.h
+++ b/libmedia/MediaParser.h
@@ -75,6 +75,9 @@ enum codecType
 /// Video codec ids as defined in flash
 enum videoCodecType
 {
+        /// No video codec
+        NO_VIDEO_CODEC = 0,
+
        /// H263/SVQ3 video codec
        VIDEO_CODEC_H263 = 2,
 
diff --git a/libmedia/gst/VideoDecoderGst.cpp b/libmedia/gst/VideoDecoderGst.cpp
index 6cd9dd0..6f2bca3 100644
--- a/libmedia/gst/VideoDecoderGst.cpp
+++ b/libmedia/gst/VideoDecoderGst.cpp
@@ -93,7 +93,7 @@ VideoDecoderGst::VideoDecoderGst(videoCodecType codec_type,
       caps = gst_caps_new_simple ("video/x-flash-screen",
                                       NULL);
       break;
-    case 0:
+    case NO_VIDEO_CODEC:
       throw MediaException(_("Video codec is zero.  Streaming video expected 
later."));
       break;
     default:

-----------------------------------------------------------------------

Summary of changes:
 libmedia/MediaParser.h           |    3 +++
 libmedia/gst/VideoDecoderGst.cpp |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]