Changeset 188956 in webkit
- Timestamp:
- Aug 26, 2015 1:04:25 AM (9 years ago)
- Location:
- releases/WebKitGTK/webkit-2.10/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog
r188955 r188956 1 2015-08-14 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] Handle missing plugins better at runtime 4 https://bugs.webkit.org/show_bug.cgi?id=146999 5 6 Reviewed by Carlos Garcia Campos. 7 8 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 9 (WebCore::MediaPlayerPrivateGStreamer::createAudioSink): Warn the 10 user if autoaudiosink wasn't found at runtime. In that case 11 playbin will try to be smart by itself, hopefully. Also moved a 12 couple GST_WARNING calls to WARN_MEDIA_MESSAGE. 13 (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin): Use 14 WARN_MEDIA_MESSAGE here as well. 15 1 16 2015-08-24 Jinyoung Hur <hur.ims@navercorp.com> 2 17 -
releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r188121 r188956 1859 1859 { 1860 1860 m_autoAudioSink = gst_element_factory_make("autoaudiosink", 0); 1861 if (!m_autoAudioSink) { 1862 WARN_MEDIA_MESSAGE("GStreamer's autoaudiosink not found. Please check your gst-plugins-good installation"); 1863 return nullptr; 1864 } 1865 1861 1866 g_signal_connect(m_autoAudioSink.get(), "child-added", G_CALLBACK(setAudioStreamPropertiesCallback), this); 1862 1867 … … 1878 1883 GstElement* scale = gst_element_factory_make("scaletempo", nullptr); 1879 1884 if (!scale) { 1880 GST_WARNING("Failed to create scaletempo");1885 WARN_MEDIA_MESSAGE("Failed to create scaletempo"); 1881 1886 return m_autoAudioSink.get(); 1882 1887 } … … 1896 1901 1897 1902 if (!gst_element_link_many(scale, convert, resample, m_autoAudioSink.get(), nullptr)) { 1898 GST_WARNING("Failed to link audio sink elements");1903 WARN_MEDIA_MESSAGE("Failed to link audio sink elements"); 1899 1904 gst_object_unref(audioSinkBin); 1900 1905 return m_autoAudioSink.get(); … … 1910 1915 #endif 1911 1916 ASSERT_NOT_REACHED(); 1912 return 0;1917 return nullptr; 1913 1918 } 1914 1919 … … 1968 1973 1969 1974 if (!scale) 1970 GST_WARNING("Failed to create scaletempo");1975 WARN_MEDIA_MESSAGE("Failed to create scaletempo"); 1971 1976 else 1972 1977 g_object_set(m_pipeline.get(), "audio-filter", scale, nullptr);
Note: See TracChangeset
for help on using the changeset viewer.