Fix indentation error in MediaPlayerPrivateGStreamer.h
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Feb 2013 03:45:10 +0000 (03:45 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Feb 2013 03:45:10 +0000 (03:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109768

Patch by Soo-Hyun Choi <sh9.choi@samsung.com> on 2013-02-13
Reviewed by Kentaro Hara.

No new tests as this patch just changes indentation style.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::hasVideo):
(WebCore::MediaPlayerPrivateGStreamer::hasAudio):
(WebCore::MediaPlayerPrivateGStreamer::engineDescription):
(WebCore::MediaPlayerPrivateGStreamer::isLiveStream):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142845 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h

index 7b24e6e8e66f34a067e782ebb36f389bae665963..171debe2f83074398d13e86ca2bdf0005a2d0a7e 100644 (file)
@@ -1,3 +1,19 @@
+2013-02-13  Soo-Hyun Choi  <sh9.choi@samsung.com>
+
+        Fix indentation error in MediaPlayerPrivateGStreamer.h
+        https://bugs.webkit.org/show_bug.cgi?id=109768
+
+        Reviewed by Kentaro Hara.
+
+        No new tests as this patch just changes indentation style.
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+        (MediaPlayerPrivateGStreamer):
+        (WebCore::MediaPlayerPrivateGStreamer::hasVideo):
+        (WebCore::MediaPlayerPrivateGStreamer::hasAudio):
+        (WebCore::MediaPlayerPrivateGStreamer::engineDescription):
+        (WebCore::MediaPlayerPrivateGStreamer::isLiveStream):
+
 2013-02-13  Adam Barth  <abarth@webkit.org>
 
         TokenPreloadScanner should be (mostly!) thread-safe
index 4c49afd14064034c0dbff1982b434371523a934e..8a1fd48605424b5101f049e1fd05c50ec10a640e 100644 (file)
@@ -39,122 +39,121 @@ typedef struct _GstElement GstElement;
 namespace WebCore {
 
 class MediaPlayerPrivateGStreamer : public MediaPlayerPrivateGStreamerBase {
-
-        public:
-            ~MediaPlayerPrivateGStreamer();
-            static void registerMediaEngine(MediaEngineRegistrar);
-            gboolean handleMessage(GstMessage*);
-
-            bool hasVideo() const { return m_hasVideo; }
-            bool hasAudio() const { return m_hasAudio; }
-
-            void load(const String &url);
-            void commitLoad();
-            void cancelLoad();
-
-            void prepareToPlay();
-            void play();
-            void pause();
-
-            bool paused() const;
-            bool seeking() const;
-
-            float duration() const;
-            float currentTime() const;
-            void seek(float);
-
-            void setRate(float);
-            void setPreservesPitch(bool);
-
-            void setPreload(MediaPlayer::Preload);
-            void fillTimerFired(Timer<MediaPlayerPrivateGStreamer>*);
-
-            PassRefPtr<TimeRanges> buffered() const;
-            float maxTimeSeekable() const;
-            bool didLoadingProgress() const;
-            unsigned totalBytes() const;
-            float maxTimeLoaded() const;
-
-            void loadStateChanged();
-            void timeChanged();
-            void didEnd();
-            void durationChanged();
-            void loadingFailed(MediaPlayer::NetworkState);
-
-            void videoChanged();
-            void audioChanged();
-            void notifyPlayerOfVideo();
-            void notifyPlayerOfAudio();
-
-            void sourceChanged();
-            GstElement* audioSink() const;
-
-        private:
-            MediaPlayerPrivateGStreamer(MediaPlayer*);
-
-            static PassOwnPtr<MediaPlayerPrivateInterface> create(MediaPlayer*);
-
-            static void getSupportedTypes(HashSet<String>&);
-            static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs, const KURL&);
-
-            static bool isAvailable();
-
-            void updateAudioSink();
-            void createAudioSink();
-
-            float playbackPosition() const;
-
-            void cacheDuration();
-            void updateStates();
-
-            void createGSTPlayBin();
-            bool changePipelineState(GstState state);
-
-            bool loadNextLocation();
-            void mediaLocationChanged(GstMessage*);
-
-            void setDownloadBuffering();
-            void processBufferingStats(GstMessage*);
-
-            virtual String engineDescription() const { return "GStreamer"; }
-            virtual bool isLiveStream() const { return m_isStreaming; }
-
-        private:
-            GRefPtr<GstElement> m_playBin;
-            GRefPtr<GstElement> m_source;
-            float m_seekTime;
-            bool m_changingRate;
-            float m_endTime;
-            bool m_isEndReached;
-            mutable bool m_isStreaming;
-            GstStructure* m_mediaLocations;
-            int m_mediaLocationCurrentIndex;
-            bool m_resetPipeline;
-            bool m_paused;
-            bool m_seeking;
-            bool m_buffering;
-            float m_playbackRate;
-            bool m_errorOccured;
-            gfloat m_mediaDuration;
-            bool m_startedBuffering;
-            Timer<MediaPlayerPrivateGStreamer> m_fillTimer;
-            float m_maxTimeLoaded;
-            int m_bufferingPercentage;
-            MediaPlayer::Preload m_preload;
-            bool m_delayingLoad;
-            bool m_mediaDurationKnown;
-            mutable float m_maxTimeLoadedAtLastDidLoadingProgress;
-            bool m_volumeAndMuteInitialized;
-            bool m_hasVideo;
-            bool m_hasAudio;
-            guint m_audioTimerHandler;
-            guint m_videoTimerHandler;
-            GRefPtr<GstElement> m_webkitAudioSink;
-            mutable long m_totalBytes;
-            KURL m_url;
-            bool m_originalPreloadWasAutoAndWasOverridden;
-            bool m_preservesPitch;
-    };
+public:
+    ~MediaPlayerPrivateGStreamer();
+    static void registerMediaEngine(MediaEngineRegistrar);
+    gboolean handleMessage(GstMessage*);
+
+    bool hasVideo() const { return m_hasVideo; }
+    bool hasAudio() const { return m_hasAudio; }
+
+    void load(const String &url);
+    void commitLoad();
+    void cancelLoad();
+
+    void prepareToPlay();
+    void play();
+    void pause();
+
+    bool paused() const;
+    bool seeking() const;
+
+    float duration() const;
+    float currentTime() const;
+    void seek(float);
+
+    void setRate(float);
+    void setPreservesPitch(bool);
+
+    void setPreload(MediaPlayer::Preload);
+    void fillTimerFired(Timer<MediaPlayerPrivateGStreamer>*);
+
+    PassRefPtr<TimeRanges> buffered() const;
+    float maxTimeSeekable() const;
+    bool didLoadingProgress() const;
+    unsigned totalBytes() const;
+    float maxTimeLoaded() const;
+
+    void loadStateChanged();
+    void timeChanged();
+    void didEnd();
+    void durationChanged();
+    void loadingFailed(MediaPlayer::NetworkState);
+
+    void videoChanged();
+    void audioChanged();
+    void notifyPlayerOfVideo();
+    void notifyPlayerOfAudio();
+
+    void sourceChanged();
+    GstElement* audioSink() const;
+
+private:
+    MediaPlayerPrivateGStreamer(MediaPlayer*);
+
+    static PassOwnPtr<MediaPlayerPrivateInterface> create(MediaPlayer*);
+
+    static void getSupportedTypes(HashSet<String>&);
+    static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs, const KURL&);
+
+    static bool isAvailable();
+
+    void updateAudioSink();
+    void createAudioSink();
+
+    float playbackPosition() const;
+
+    void cacheDuration();
+    void updateStates();
+
+    void createGSTPlayBin();
+    bool changePipelineState(GstState);
+
+    bool loadNextLocation();
+    void mediaLocationChanged(GstMessage*);
+
+    void setDownloadBuffering();
+    void processBufferingStats(GstMessage*);
+
+    virtual String engineDescription() const { return "GStreamer"; }
+    virtual bool isLiveStream() const { return m_isStreaming; }
+
+private:
+    GRefPtr<GstElement> m_playBin;
+    GRefPtr<GstElement> m_source;
+    float m_seekTime;
+    bool m_changingRate;
+    float m_endTime;
+    bool m_isEndReached;
+    mutable bool m_isStreaming;
+    GstStructure* m_mediaLocations;
+    int m_mediaLocationCurrentIndex;
+    bool m_resetPipeline;
+    bool m_paused;
+    bool m_seeking;
+    bool m_buffering;
+    float m_playbackRate;
+    bool m_errorOccured;
+    gfloat m_mediaDuration;
+    bool m_startedBuffering;
+    Timer<MediaPlayerPrivateGStreamer> m_fillTimer;
+    float m_maxTimeLoaded;
+    int m_bufferingPercentage;
+    MediaPlayer::Preload m_preload;
+    bool m_delayingLoad;
+    bool m_mediaDurationKnown;
+    mutable float m_maxTimeLoadedAtLastDidLoadingProgress;
+    bool m_volumeAndMuteInitialized;
+    bool m_hasVideo;
+    bool m_hasAudio;
+    guint m_audioTimerHandler;
+    guint m_videoTimerHandler;
+    GRefPtr<GstElement> m_webkitAudioSink;
+    mutable long m_totalBytes;
+    KURL m_url;
+    bool m_originalPreloadWasAutoAndWasOverridden;
+    bool m_preservesPitch;
+};
 }
 
 #endif // USE(GSTREAMER)