Skip to content

Commit

Permalink
patches: add asfdemux patch needed for darksiders
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed May 13, 2020
1 parent 4078c13 commit 19e6e1d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c
index 7444fc14..30dfc20e 100644
--- a/gst/asfdemux/gstasfdemux.c
+++ b/gst/asfdemux/gstasfdemux.c
@@ -206,7 +206,7 @@ gst_asf_demux_reset (GstASFDemux * demux, gboolean chain_reset)
{
GST_LOG_OBJECT (demux, "resetting");

- gst_segment_init (&demux->segment, GST_FORMAT_UNDEFINED);
+ gst_segment_init (&demux->segment, GST_FORMAT_TIME);
demux->segment_running = FALSE;
if (!chain_reset) {
if (demux->adapter)

1 change: 1 addition & 0 deletions patches/protonprep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
patch -Np1 < ../patches/gstreamer/asfdemux-always_re-initialize_metadata_and_global_metadata.patch
patch -Np1 < ../patches/gstreamer/asfdemux-Re-initialize_demux-adapter_in_gst_asf_demux_reset.patch
patch -Np1 < ../patches/gstreamer/asfdemux-Only_forward_SEEK_event_when_in_push_mode.patch
patch -Np1 < ../patches/gstreamer/asfdemux-gst_asf_demux_reset_GST_FORMAT_TIME_fix.patch
cd ..

# warframe controller fix
Expand Down

0 comments on commit 19e6e1d

Please sign in to comment.