Skip to content

Instantly share code, notes, and snippets.

View DuBistKomisch's full-sized avatar

Jake Barnes DuBistKomisch

View GitHub Profile
/*! QRious v4.0.2 | (C) 2017 Alasdair Mercer | GPL v3 License
Based on jsqrencode | (C) 2010 tz@execpc.com | GPL v3 License */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.QRious=e()}(this,function(){"use strict";function t(t,e){var n;return"function"==typeof Object.create?n=Object.create(t):(s.prototype=t,n=new s,s.prototype=null),e&&i(!0,n,e),n}function e(e,n,s,r){var o=this;return"string"!=typeof e&&(r=s,s=n,n=e,e=null),"function"!=typeof n&&(r=s,s=n,n=function(){return o.apply(this,arguments)}),i(!1,n,o,r),n.prototype=t(o.prototype,s),n.prototype.constructor=n,n.class_=e||o.class_,n.super_=o,n}function i(t,e,i){for(var n,s,a=0,h=(i=o.call(arguments,2)).length;a<h;a++){s=i[a];for(n in s)t&&!r.call(s,n)||(e[n]=s[n])}}function n(){}var s=function(){},r=Object.prototype.hasOwnProperty,o=Array.prototype.slice,a=e;n.class_="Nevis",n.super_=Object,n.extend=a;var h=n,f=h.extend(function(t,e,i){this.qrious=t,this.element=e,
@DuBistKomisch
DuBistKomisch / foo.diff
Created December 6, 2017 09:25
patch to make imx subtitles work with playbin
diff --git a/gst/playback/Makefile.am b/gst/playback/Makefile.am
index 9603dab..d339785 100644
--- a/gst/playback/Makefile.am
+++ b/gst/playback/Makefile.am
@@ -1,6 +1,6 @@
plugin_LTLIBRARIES = libgstplayback.la
-csp_cflags = -DCOLORSPACE=\"videoconvert\"
+csp_cflags = -DCOLORSPACE=\"imxipuvideotransform\"
" include plugins
execute pathogen#infect()
" compatibility
set nocompatible
set backspace=2
set hidden
set viminfo=
set mouse=a
" copy mode, allows selection in a graphical terminal