Skip to content

Commit

Permalink
Merge branch 'fix_buffering' into 'master'
Browse files Browse the repository at this point in the history
Add deactivate_max_size_time.patch

See merge request !6
  • Loading branch information
Andrew Branson committed Mar 23, 2018
2 parents 1740491 + 8d58f91 commit 894e816
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rpm/deactivate_max_size_time.patch
@@ -0,0 +1,11 @@
--- a/plugins/elements/gstqueue2.c 2018-03-23 14:33:51.033985808 +0100
+++ b/plugins/elements/gstqueue2.c 2018-03-23 14:34:37.526074183 +0100
@@ -111,7 +111,7 @@
/* default property values */
#define DEFAULT_MAX_SIZE_BUFFERS 100 /* 100 buffers */
#define DEFAULT_MAX_SIZE_BYTES (2 * 1024 * 1024) /* 2 MB */
-#define DEFAULT_MAX_SIZE_TIME 2 * GST_SECOND /* 2 seconds */
+#define DEFAULT_MAX_SIZE_TIME 0 * GST_SECOND /* deactivated */
#define DEFAULT_USE_BUFFERING FALSE
#define DEFAULT_USE_TAGS_BITRATE FALSE
#define DEFAULT_USE_RATE_ESTIMATE TRUE
2 changes: 2 additions & 0 deletions rpm/gstreamer.spec
Expand Up @@ -22,6 +22,7 @@ BuildRequires: libtool
BuildRequires: gettext-devel
Obsoletes: gst-av
Obsoletes: gstreamer0.10-ffmpeg
Patch1: deactivate_max_size_time.patch

%description
GStreamer is a streaming media framework, based on graphs of filters which
Expand Down Expand Up @@ -65,6 +66,7 @@ This package contains some GStreamer useful tools

%prep
%setup -q -n %{name}-%{version}/gstreamer
%patch1 -p1

%build
NOCONFIGURE=1 ./autogen.sh
Expand Down

0 comments on commit 894e816

Please sign in to comment.